my @fld = split /\s*FIELD\w = /; shift @fld; # Zap empty first field print join(",",@fld ),"\n";
my @fld = /FIELD\w\s*=\s*(\S+)/g; print join( ',', @fld ), "\n";
In reply to Re^2: How to improve regex for parsing equals delimited data
by jwkrahn
in thread How to improve regex for parsing equals delimited data
by Lotus1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |