prints just 123,,perl -le '$_="123ms456ms789ms"; $_ =~ /(\d+)ms/g; print "$1,$2,$3\n"; +'
In reply to Re^2: How do i extract 3 variables from each line in a file, and print them to a new file
by davidrw
in thread How do i extract 3 variables from each line in a file, and print them to a new file
by my_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |