This is not an appropriate use of regular expressions. You’d be better off using
[0-9]{2}/[0-9]{2}/[0-9]{4}
and then checking ranges in a higher-level language.
More Related Contents:
- How to change date format in sed?
- Greedy vs. Reluctant vs. Possessive Qualifiers
- RegEx: Grabbing values between quotation marks
- How does Stack Overflow generate its SEO-friendly URLs?
- How do I make part of a regex match optional?
- Regex Match all characters between two strings
- Searching for UUIDs in text with regex
- What regular expression will match valid international phone numbers?
- How to check that a string is a palindrome using regular expressions?
- Regex to find repeating numbers
- How to ignore whitespace in a regular expression subject string?
- Regular expression search replace in Sublime Text 2
- Phone validation regex
- Regex for alphanumeric, but at least one letter
- Random Text generator based on regex [duplicate]
- Microsoft office Access `LIKE` VS `RegEx`
- Why are there so many different regular expression dialects?
- Split text by columns in PowerShell
- How to replace a whole line with sed?
- Unix grep regex containing ‘x’ but not containing ‘y’
- What regular expression can never match?
- is there something akin to regEx in applescript, and if not, what’s the alternative?
- Regular Expression Validation For Indian Phone Number and Mobile number
- Replace newlines with literal \n
- How to capture multiple regex matches, from a single line, into the $matches magic variable in Powershell?
- htaccess force https and redirect www to non-www, but no other subdomains
- Filtering a diff with a regular expression
- What is the MM/DD/YYYY regular expression and how do I use it in php?
- Bash – Regex for HTML contents
- How to validate email id in angularJs using ng-pattern