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 1
Title Test Details Persian date (Jalali)
Expression
^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$
Description
Regular expression to validate Persian(Jalali) date, that supports days in month except isfand(espand) in leap years
Matches
1379/05/31,1379/6/3,1379/07/29,1379/10/30,1379/11/30,1379/12/30,1379/12/29
Non-Matches
1379/05/32,1379/6/0,1379/7/31,1379/11/31,1379/12/31
Author Rating: The rating for this expression. Vahid Mardani
   Displaying page 1 of 1 pages; Items 1 to 1

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