Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Markus Wallner
July 19, 2005, 8:31 am
rate this thread
I want to replace images through URLs with the help of a regular expression.
should be replaced through:
Another problem are emoticons, which are also included as <img>.
Therefore I would like to extend the upper regular expression that the image
should only be replaced through an URL, if the src attribute of the img tag
does not start with "/modules/emoticons/".
Thanks in advance,
Re: Regular Expression for replacing images through URLs in PHP
Have you actually *tried* anything yet? You have no sample code. I won't
help you until I see what you've tried. nyah nyah n-nyah nyah.
JDS | firstname.lastname@example.org
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/