[PLUG] File content modification

Shreerang Patwardhan patwardhan.shreerang at gmail.com
Sat Jul 31 00:02:47 PDT 2010


Hello all,
     I have a file with contents in the following manner:
10001_abc_county
10003_abc_xyz_county
10005_abc_pqr_xyz_county

Each entry is on a new line and each line begins with a number and ends with
the word county!

I wish to convert the contents of this file in the form as specified below:
abc
abcxyz
abcpqrxyz

How do I get around this?
Need help!

Regards,
Shreerang Patwardhan.


More information about the plug-mail mailing list