in reply to Help with Multiple line RegEx
while (<DATA>) { chomp; next if /^$/; next if /^[* -]/; print "$_\n"; }
update: Corrected regex
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help with Multiple line RegEx
by blackadder (Hermit) on Oct 10, 2005 at 11:08 UTC |