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 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
   Displaying page 1 of 1 pages; Items 1 to 1

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