EREG_REPLACE?
| From: | Oosten, Sjoerd van | Date: | Thu, 15 Nov 2001 19:09:08 +0000 |
| Subject: | EREG_REPLACE? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74768@lists.php.net to get a copy of this message | ||
> Hello, ive got a problem
>
> I want to replace this string:
> <a class="mn" href="whatever is here should be left her and is
> variable">this must also be variable</a>
>
> by:
>
> <font size="2"><a class="mn" href="whatever is here should be
> left her and
> is variable">this must also be variable</a></font>
>
> So the two tags should be placed before and after the link when a link is
> in my $pagecontent
>
> I know it's easier to use another class, but for the moment that's not an
> option.
>
> Greetings,
>
> Sjoerd
>
> ________________________________________
> Sjoerd van Oosten
> Digitaal vormgever svoosten@esites.nl
> Datamex E-sites B.V.
> http://www.esites.nl
> Minervum 7368 Telefoon: (076) 5 730 730
> 4817 ZH BREDA Telefax: (076) 5 877 757
> _______________________________________
>