Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression for Date not working
#8
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi
You can use the below

Code:
For MM/DD/YYYY        \d\d/\d\d/\d\d\d\d
For M/D/YYYY             \d?\d/\d?\d/\d\d\d\d
     ? for 0 or 1
      * for 0 or more
      + for 1 or more
Reply


Messages In This Thread
RE: Regular Expression for Date not working - by surya_7mar - 11-29-2008, 10:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to click on a date button? Parthasit033 0 1,940 09-06-2017, 01:49 AM
Last Post: Parthasit033
  Need Any digit in xpath path using Regular expression Priyam 1 3,484 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,351 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,817 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,564 12-08-2014, 06:38 PM
Last Post: anshika.agarwal

Forum Jump:


Users browsing this thread: 2 Guest(s)