I've arrived at a dead and and could need some help. RegExs are giving me headaches again.
I need to cleanup some text to only allow images from a certain server.
Let's say the text looks like this:
Code: Select all
Some html code
<img src="http://www.allowedserver.com/pics/image.jpg" border="0">
<img src="http://www.deniedserver.com/pics/image.jpg" border="0">
more html codeAny help appreciated! Thanks!
tylerd