in reply to Re^2: regex doubt on excluding
in thread regex doubt on excluding
Or maybe you don't want the ^ and $ anchors. Or maybe you don't want the multi-line m modifier. Please explain more precisely what you want to achieve, and give an example input where it does not work the way you wish, together with the output that you are looking for.$string =~ s/^[ \t]+$//mg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: regex doubt on excluding
by Anonymous Monk on Apr 21, 2014 at 09:48 UTC |