Re: ? for the Reg Ex people
| From: | James, Yz | Date: | Wed, 07 Feb 2001 21:03:25 +0000 |
| Subject: | Re: ? for the Reg Ex people | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38617@lists.php.net to get a copy of this message | ||
look up eregi_replace and preg_replace
www.php.net/quickref.php
Gotta run
J
"Jason Bryner" <jrbryner@southern.edu> wrote in message
news:3A6C1BC1@webmail.southern.edu...
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>