RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 2
Title Test Details finding time
Expression
([0-9]+:)?[0-9]+\s*(am|pm)|[0-9]+:[0-9]+\s*(am|pm)?
Description
time in any format that a user can write
Matches
14:00 | 4:00pm | 4:00 pm | 4pm | 4 pm
Non-Matches
4
Author Rating: Not yet rated. Mohamed El Sharnoby
Title Test Details Date in many formats
Expression
/[0-9]+[stndrh]*\s*(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[a-z]*\s*([0-9][0-9][0-9][0-9])?|(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[a-z]*\s*[0-9]+[stndrh]*|[0-9]+[\/.-][0-9]+[\/.-][0-9]+[0-9]+|[saturnmoewdhfi]*day/i
Description
date in many formats that the user can enter
Matches
13 oct | 13 oct 2013 | oct 13 | 13/10/2013 | 13-10-13 | 13.10.13 | 3rd oct | saturday
Non-Matches
13/13/3
Author Rating: Not yet rated. Mohamed El Sharnoby
   Displaying page 1 of 1 pages; Items 1 to 2

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials