John Von Essen wrote: [snip]
[snip]On Sunday, December 1, 2002, at 08:29 PM, Schulz, Konrad wrote:Hi all, I know that that might not really fit into this mailing list but I am looking for an regular expression that filters out of a bunch of URLs all URL that are situated on the Internet and not on the Intranet! So I might have something like this: http://localhost/index.html http://localhost5/menu.asp http://www.hp.com.au/ http://links.links.com/ .. .. .. and so on. I would like to get all the URLs which are likely to be on the Internet seperated from the URLs leading to a site of the Intranet! Cheers Konrad
You might also want to check out URI::Find (from the 2002 Perl Advent Calendar http://www.perladvent.org/2002/). It will find the URLs for you and then you can just filter out the ones you don't want.
--
In Reach Technology: http://inreachtech.net/
Robert G. Werner
[EMAIL PROTECTED]
Tel: 559.304.5122
