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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Mysql Date Validator - Brazilian format
Expression
^([1-9]|0[1-9]|[12][0-9]|3[01])(-|/)(([1-9]|0[1-9])|(1[0-2]))(-|/)(([0-9][0-9])|([0-9][0-9][0-9][0-9]))$
Description
Brazilian format for date validating in MySql UDF. Formato brasileiro para validação de data em MySql UDF. *** Formatos aceitáveis: dd/mm/yyyy dd-mm-yyyy dd-mm-yy d-m-yy
Matches
1/1/1111 | 1-1-1111 | 01/01/1111 | 1/01/1111 | 31/12/1985 | 07/07/1985 | 7/7/1985 | 31/12/08
Non-Matches
01/01/1 | 1985/05/05 | 32/13/2008
Author Rating: Not yet rated. Jonatas
Source
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