Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The HTML I am tyring to match is, I'm trying to get the number value.
<input type="hidden" name="VERIFIER" value="076-62">
$page =~ m/name=\"VERIFIER\" value=\"(\d+\-\d+)\">/x; print $1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: simple regex
by Paladin (Vicar) on Mar 03, 2006 at 17:51 UTC | |
|
Re: simple regex
by McDarren (Abbot) on Mar 03, 2006 at 17:54 UTC | |
|
Re: simple regex
by wfsp (Abbot) on Mar 03, 2006 at 18:29 UTC | |
|
Re: simple regex
by explorer (Chaplain) on Mar 03, 2006 at 17:42 UTC | |
by ptum (Priest) on Mar 03, 2006 at 17:51 UTC | |
by lo_tech (Scribe) on Mar 03, 2006 at 19:37 UTC | |
|
Re: simple regex
by gube (Parson) on Mar 03, 2006 at 17:53 UTC |