And in the solution above, last \D+ can stay \D+ instead of \D* because "ms" is two letters, and \D+ gets at least one so it also matches two but not matches zero occurrences (as opposed to \D*, which does)
--------------------------------
An idea is not responsible for the people who believe in it...
In reply to Re^4: How do i extract 3 variables from each line in a file, and print them to a new file
by bofh_of_oz
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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |