(?:[1-9]|1[0-9]|2[0-9]|3[01]) is a less simple replacement that would accept fewer invalid dates (e.g. you'd still match against 31st day of February; then again you'd want to do that validation further up the pipe anyhow).
In reply to Re^2: Regex question
by Fletch
in thread Regex question
by coltman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |