Try my @lines = split(/\n/, $quotaOutput);
perldoc -f split for more info. This'll get you a nice list with each line in a separate element, so you can throw lines away or handle them separately. To go back to a string when you're done, use join.
In reply to Re: Irregular Expressions
by Anonymous Monk
in thread Irregular Expressions
by JoeJaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |