TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tangara G
NA
298
94k
Need some help on the following Regular expression:
Aug 21 2016 4:10 AM
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
Reply
Answers (
1
)
Regular Expression
Regular Expression to get the values (REGEX)