Can anyone suggest some regex to replace this? The aim of it is to grab all URL's starting with http:// in a HTML page.
foreach (@html) {
# now scan through to find URL's...
m,http://(.+?),g and print $1;
}
It just doesn't seem to be matching
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
my @html = get($page); foreach (@html) {
# now scan through to find URL's...
m,http://(.+?),g and print $1;
}
It just doesn't seem to be matching
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!