Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expressions
#1
Solved: 10 Years, 9 Months ago
Can you anyone tell a regular expression to check that a date entered has a valid format of Wednesday,January,23,2008 ?
Reply
#2
Solved: 10 Years, 9 Months ago
Hi Anuumi,
Below is the regular expression for the above Date format.

Code:
"(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday),(January|February|March|April|May|June|July|August|September|October|November|December),(\d|[1-9]|3[0-1]),200\d"


This expression will for any date which is in above mentioned format.
Hope this is helpful for you.
Thanks
VENKATA
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
At Regular Expressions for e-mail address ganesh.dengale 6 18,544 08-23-2022, 02:51 PM
Last Post: ahmad3029
  How to disable regular expressions in a text? ttralor 6 6,172 07-05-2013, 02:44 PM
Last Post: Staff
  Need help on using regular expressions on Java Window's title qa_tester 3 4,833 02-13-2012, 10:56 PM
Last Post: madsenfr
  java window titles & regular expressions jotdog2 1 4,038 02-13-2012, 10:55 PM
Last Post: madsenfr
  Process to use Regular Expressions in QTP using screen shots. yvslraotesting@gmail.com 1 3,320 01-31-2012, 12:45 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)