Re: Regex
| From: | Richard Lynch | Date: | Mon, 21 Aug 2006 16:18:37 +0000 |
| Subject: | Re: Regex | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240954@lists.php.net to get a copy of this message | ||
On Mon, August 21, 2006 4:51 am, Nadim Attari wrote:
> I have some text in a table... the text contains hyperlinks (but not
> html coded, i.e. plain "Some
> text...http://www.something.com")
>
> When i retrieve these texts from the table, i want the hyperlinks to
> become clickable, i.e. <a href etc added automatically.
>
> "Some text...<a
>
> href="http://www.something.com">http://www.something.com</a>"
>
> I know this sould be done using Regex, but i don't know regex.
>
> Any help (links, examples, etc)
Last time I read the User Contributed Notes for PCRE pages, there were
several solutions to this very problem in them...
--
Like Music?
http://l-i-e.com/artists.htm