while (<DATA>) { print $1."\n" if /^\D*(\d{0,3})\D*$/; } __DATA__ 123 123 123 123 1 2 3 1 12 1
In reply to Re: Pattern matching fields with variable or NULL data
by TedPride
in thread Pattern matching fields with variable or NULL data
by kerrya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |