my $str = 'a|b|c|d|e|f|g|h|i|'; $str =~ s/(?:.*?\|){3}\K/\n/g; print $str; __END__ a|b|c| d|e|f| g|h|i|
In reply to Re: Parsing a Pipe delimied file
by trizen
in thread Parsing a Pipe delimied file
by anjamesc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |