[eluser]Young Caveman[/eluser]
Hi. :-)
I looked for this on the web but there was not anything which I can understand

I have to use ereg_replace function in my app, but ereg syntax is very hard to understand. You all can try to explain me with simple words?

Thank you.
Ps. Just to inform you: i have to replace every string which looks like this: "-" anthing "-" to: "<div>anything</div>".
Then
would become
I apologize but I never used this function and it's a bit complicated

Thanks in advance.
Don ~ Albé