Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Exp for mm/dd/yyyy date format
#5
Solved: 12 Years, 10 Months, 2 Weeks ago
Yes definitely it would fail because, you see at the end where I have set pattern for year I have mentioned (19|20), this will allow you to compare only for year 1900 to 2999, But this can be manipulated as per your requirement. try replacing (19|20)\d\d with \d{4}.

what do you mean when you say ' make sure post doesnt have such requirement to match only years (1900 - 2099).'? we are here to help you with our best, whatever we have we can suggest only. I dont think we should fulfill the exact requirement, let the guy do some on his own. whatever I have posted is just a suggestion.
Apologies if I posted something wrong.



Messages In This Thread
RE: Regular Exp for mm/dd/yyyy date format - by Saket - 08-27-2009, 08:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to click on a date button? Parthasit033 0 2,296 09-06-2017, 01:49 AM
Last Post: Parthasit033
  Regular Exp Issue Jyobtech 2 4,715 09-28-2012, 12:08 PM
Last Post: Jyobtech
  Regular Expression for time in 24 hour format with out colon Pallavi 3 5,400 03-13-2012, 11:29 AM
Last Post: sshukla12
  Regular expression for date rajaselvan.d 1 3,937 02-09-2012, 08:48 AM
Last Post: rajpes
  REgular Expression for Dynamic Date nulupraveen 2 5,903 06-07-2011, 03:26 PM
Last Post: surya_7mar

Forum Jump:


Users browsing this thread: 1 Guest(s)