i hope i got your question right ...while(<>){ print if m!(\d+)\D*to\D*(\d+)!i; print "$1\n"; print "$2\n"; }
----
NaSe
:x
In reply to Re: $1 and regex
by NaSe77
in thread $1 and regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |