Regex for URL extracting

2007-01-24 Thread Johny
Does anyone know about a good regular expression for URL extracting? J. -- http://mail.python.org/mailman/listinfo/python-list

Re: Regex for URL extracting

2007-01-24 Thread Nikita the Spider
In article [EMAIL PROTECTED], Johny [EMAIL PROTECTED] wrote: Does anyone know about a good regular expression for URL extracting? Extracting URLs from what? If it is HTML, then I'd look at some existing HTML parsing modules like Beautiful Soup and Barnes' HTMLData. -- Philip

Re: Regex for URL extracting

2007-01-24 Thread Paul McGuire
On Jan 24, 10:20 am, Johny [EMAIL PROTECTED] wrote: Does anyone know about a good regular expression for URL extracting? J. Google turns this up: http://geekswithblogs.net/casualjim/archive/2005/12/01/61722.aspx But I've seen other re's for this problem that are hundreds of characters long.

Re: Regex for URL extracting

2007-01-24 Thread Chris Mellon
On 24 Jan 2007 11:07:49 -0800, Paul McGuire [EMAIL PROTECTED] wrote: On Jan 24, 10:20 am, Johny [EMAIL PROTECTED] wrote: Does anyone know about a good regular expression for URL extracting? J. Google turns this up: http://geekswithblogs.net/casualjim/archive/2005/12/01/61722.aspx But