Hope that helps!$_ = 'BASKET OPEN WEEKLY BASKET PRICE RISES TO 28.23 DOLLARS'; if (/BASKET\n\nOPEN WEEKLY BASKET PRICE RISES TO (\S+) DOLLARS/) { $price = $1; print "Price: $price\n"; }
In reply to RE: matching multiline regular expressions
by Shendal
in thread matching multiline regular expressions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |