\s+ should match new lines, so skeeve's example should still work. Unless you are reading in from a file, and are only reading one line at a time, in which case you would need to slurp the entire file in and then use skeeve's example.
In reply to Re^3: Simple regex with numbers
by JediWizard
in thread Simple regex with numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |