Yes.
Markus: I was thinking at exact ‘matrix’ in RegEx just like what Ive done with SQLDate.
Yes.
Markus: I was thinking at exact ‘matrix’ in RegEx just like what Ive done with SQLDate.
FYI, you can use a shorthand for that:
\\d{4}-\\d{2}-\\d{2}
The braces mean, the last token repeated this many times. You can also use them for a range:
\\d{2,4} // Two, three, or four digits
\\d{2,} // At least two digits
Hi Kem,
this is a nice trick, thank you for sharing. I love this kind of trick: useful and still readable.