? for the Reg Ex people

From: Date: Wed, 07 Feb 2001 20:48:06 +0000
Subject: ? for the Reg Ex people
Groups: php.general 
Request: Send a blank email to php-general+get-38615@lists.php.net to get a copy of this message
I'm making a small script that imports HTML pages and I need to do some string replacement. I need to replace add a url to all the 'HREF' links and images, but if someone could just give me an example of how to replace and append the HREF part, I think I can figure it out. It needs to find all the variations of HREF, such as 'HREF = "', href="', 'href =', etc. So it needs to be space and capitalization carefree. THANKS TO ANYONE WHO HELPS!!! Jason Bryner jrbryner@southern.edu

« previous php.general (#38615) next »