suneel.reddy has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I have a file name like - 20130101Customer100.imp , now I need to truncate 20130101 from the file name. I'm new to perl, can someone help me to solve this please ? I need only those first few digits to be removed (till an alphabet starts), not all the digits from the name.
Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Removing digits from a string
by johngg (Canon) on Jan 01, 2013 at 12:39 UTC | |
by suneel.reddy (Novice) on Jan 02, 2013 at 08:51 UTC | |
|
Re: Removing digits from a string
by blue_cowdawg (Monsignor) on Jan 01, 2013 at 16:20 UTC | |
|
Re: Removing digits from a string
by Anonymous Monk on Jan 01, 2013 at 10:53 UTC | |
by erix (Prior) on Jan 01, 2013 at 10:56 UTC | |
by Anonymous Monk on Jan 01, 2013 at 11:02 UTC | |
by Athanasius (Archbishop) on Jan 01, 2013 at 13:38 UTC | |
by Anonymous Monk on Jan 02, 2013 at 09:11 UTC | |
by erix (Prior) on Jan 01, 2013 at 11:07 UTC | |
by Anonymous Monk on Jan 01, 2013 at 11:15 UTC | |
|
Re: Removing digits from a string
by suneel.reddy (Novice) on Jan 02, 2013 at 09:03 UTC |