in reply to pattern to match certain numbers only?
You'll need to expand this if you need to cope with hundreds and bigger. It also assumes there is a decimal point and a single digit after decimal.if (/[1-9]0\.0/) { process the line }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: pattern to match certain numbers only?
by graff (Chancellor) on Feb 21, 2006 at 06:17 UTC |