i am new to regex being used in validation.xml in struts 1.0. that said, what does the following mean? in terms of xx/xx/xxxx?
<constant-value>^\d{1,2}(\-|\/|\.)\d{1,2}\1\d{4}$</constant-value>
This appears to be a date validator in any of the following formats:
dd-mm-yyyy
dd/mm/yyyy
dd.mm.yyyy
mm-dd-yyyy
mm/dd/yyyy
mm.dd.yyyy
PS: It allows month or date digits to be single or double digits.