Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Need some help on the following Regular expression:
Tangara G
Aug 21 2016 4:10 AM
432
Reply
Hi,
I hope to get some help on the following regular expressions:
To validate the departure date field in this format : dd-mm-yyyy, whre dd is the date with 2 digits max lengths, mm is the digit value of month varying from 1 to 12 and yyyy is the year in four digits.
e.g. 03-03-2013
To validate the above with additional formats supported
dd-mm-yyyy
03/03/2013
To validate the departure time in format : hh:mmXX where hh is the 24hr format, mm in minutes and XX is either AM or PM.
e.g. 17:30PM
Tks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Regular Expression
Regular Expression to get the values (REGEX)