RE: [PHP] regexp for URL

2003-06-08 Thread Boaz Yahav
Try this : How to use regular expressions to get the list of links from an HTML page http://examples.weberdev.com/get_example.php3?count=1401 extract_links(); Extract all local links from a URL http://examples.weberdev.com/get_example.php3?count= Sincerely berber Visit http://www.weberdev.

Re: [PHP] regexp for URL

2003-06-08 Thread David Otton
On Mon, 09 Jun 2003 07:13:43 +0200, you wrote: >Does anyone have a good regular expression for capturing all http URL in >a string? >now i'm using ?(http://[a-z0-9-/_;&=+-\.\?:@]+)\b?mi >in one of my programs, that is, all strings beginning with http:// and >contain chars like a-z0-9 ... > >does