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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find jalali date
Expression
^\d{4}\/\d{1,2}\/\d{1,2}$
Description
This regular expressions matches jalali dates of the form YYYY/XX/XX where XX can be 1 or 2 digits long and YYYY is always 4 digits long.
Matches
1394/01/3 | 1365/12/31 | 1397/02/01
Non-Matches
1394/1/555 | 139/1/4 | 1/11/1394
Author Rating: Not yet rated. davood dehghan
Source moshavernet.com
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

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