RE: [PHP] String substiion for flash text
| From: | Chris W. Parker | Date: | Fri, 29 Aug 2003 19:49:52 +0000 |
| Subject: | RE: [PHP] String substiion for flash text | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161192@lists.php.net to get a copy of this message | ||
Luis Lebron <mailto:llebron@sigmatech.com>
on Friday, August 29, 2003 12:41 PM said:
> Is there a way I can change something like
> <a href="mylink.html">My Link</a> to <a
> href="mylink.html"><ul>My
> Link</ul></a>
Yes. Probably best to use regular expressions. Read up on
www.php.net/preg_replace as a starting point.
If you don't know how to use regular expressions (I'm not that great at
it) I'm sure someone here will be able to write you one.
Also, I think you mean <u></u> and not <ul></ul> which stands for
Unordered List.
hth,
Chris.