Regex
| From: | Nadim Attari | Date: | Mon, 21 Aug 2006 09:51:16 +0000 |
| Subject: | Regex | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-240941@lists.php.net to get a copy of this message | ||
Hello,
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)
Thanks
Nadim Attari