193
rated 0 times
[
198]
[
5]
/ answers: 1 / hits: 112269
/ 12 Years ago, sat, october 6, 2012, 12:00:00
I have a DateTime string ISO8601 formated
2012-10-06T04:13:00+00:00
and the following Regex which does not match this string
#(d{4})-(d{2})-(d{2})T(d{2}):(d{2}):(d{2})+(d{2}):(d{2})#
I can't figure out why it does not match.
I escaped metacharacters, for me it seems to be OK.
EDIT :
The right way: http://jsfiddle.net/5n5vk/3/
More From » regex