On Thursday 09 January 2014 02:01:55 timothy adigun wrote: > Hi, > > On Thu, Jan 9, 2014 at 11:57 AM, Peter Gordon <pete...@netspace.net.au>wrote: > > I'm trying do write a one line RE to strip sequence numbers off > > filenames. > > Something like this? > > s/^[0-9_-]+//;
Shouldn't that be s/^[0-9]+[-_]// -- Gary Stainburn Group I.T. Manager Ringways Garages http://www.ringways.co.uk -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/