Nishi Bhonsle wrote: > Hi: Hello,
> I have a filenames such as NQSname_l_cs.txt, NQSname_l_da.txt, > NQSname_l_zh- > tw.txt etc. > I would like to modify these filenames such that they are NQSname.txt > > What regex i could use to modify these filenames? s/_.*\././; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>