Re: How to split a string read from the file?



I am off topic regarding your question about split, but with a one-liner like this perl does the work for you:

perl -pi~ -e 's/^\d+ *: *//' file.txt

hth
--
Gérard

.