MD has asked for the wisdom of the Perl Monks concerning the following question:
"2003 % 05 % 1720:55:23"
into the string...
"2003-05-17"
I've tried using split but end up with "2003 05 1720" with the spaces remaing.
Is it possible to translate the original string using a regex?
Regards
MD
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex to parse a date
by broquaint (Abbot) on May 19, 2003 at 09:59 UTC | |
by MD (Initiate) on May 19, 2003 at 10:18 UTC | |
|
Re: Regex to parse a date
by BrowserUk (Patriarch) on May 19, 2003 at 10:37 UTC | |
by TVSET (Chaplain) on May 19, 2003 at 10:43 UTC | |
by Anonymous Monk on May 19, 2003 at 12:38 UTC | |
|
Re: Regex to parse a date
by Skeeve (Parson) on May 19, 2003 at 09:56 UTC | |
by MD (Initiate) on May 19, 2003 at 10:14 UTC | |
|
Re: Regex to parse a date
by TVSET (Chaplain) on May 19, 2003 at 09:57 UTC | |
by MD (Initiate) on May 19, 2003 at 10:15 UTC | |
|
Re: Regex to parse a date
by arthas (Hermit) on May 19, 2003 at 10:40 UTC | |
by Anonymous Monk on May 19, 2003 at 12:37 UTC |