Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Now I have tried every reg expression combination:<SCRIPT LANGUAGE="JavaScript"> document.write("<font face=arial size=1>Page last updated: " + "<br>" + document.lastMod<FONT face=arial size=1> Page last updated: <BR>Wednesday, May 08, 2002 14:53:02
(/Page last updated: \<BR\>(.*)$/) (/Page last updated: \<BR\>(.*)$/) (/Page last updated: <BR>(.*)$/)
$content = get($url); print $content; my ($dat) = $content =~ (/Page last updated: <BR>(.*$)/i); print "$1\n"; print $dat;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reg Expression on Javascript?
by cLive ;-) (Prior) on May 09, 2002 at 12:19 UTC | |
|
Re: Reg Expression on Javascript?
by tachyon (Chancellor) on May 09, 2002 at 12:57 UTC | |
|
Re: Parsing HTML source that contains JavaScript
by mrbbking (Hermit) on May 09, 2002 at 12:16 UTC | |
|
Re: Reg Expression on Javascript?
by perlplexer (Hermit) on May 09, 2002 at 12:10 UTC |