I have a problem with php here and need some help.
Just a small example:
What I have is:
<img src="foo" alt="bar" />
what I need is some php preg_replace or something like that what transforms the
img so that the result would be:
<div title="foo"></div>
Sound strange I know but I need a php solution.
I tried a lot of stuff but I'm not that good in php and less in regex.
Thanks for any help!
Greetings lordcoffee