^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|20[0-7][0-9])$regex to accept 1900 - 2079 years
use this regex tester simple1. http://www.codeproject.com/KB/recipes/RegexTester.aspxcomplex2. http://www.codeproject.com/KB/string/regextester.aspx
^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|20[0-7][0-9])$
ReplyDeleteregex to accept 1900 - 2079 years
use this regex tester
ReplyDeletesimple
1. http://www.codeproject.com/KB/recipes/RegexTester.aspx
complex
2. http://www.codeproject.com/KB/string/regextester.aspx