You need to escape the backslashes. Other than that, yes. Of course, dates like 15/37/9876 will still match just fine, and you may want to allow things like 1/3/2004, your regex requires 01/03/2004.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.