in reply to Escaping Regex Expressions
$_ = "Page 1 of 47"; if (/Page 1 of (\d+)/){ print "Number of Pages = $1"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Escaping Regex Expressions
by Anonymous Monk on Aug 21, 2004 at 14:52 UTC | |
by tachyon (Chancellor) on Aug 21, 2004 at 15:09 UTC | |
by Eimi Metamorphoumai (Deacon) on Aug 21, 2004 at 15:13 UTC |