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 Data com ano bissexto (Date with leap year)
Expression
^((29\/0?2\/[0-9]{0,2}(04|08|92|96|([1|3|5|7][2|6])|[2|4|6|8][0|4|8]))|(((28|[12][0-7]|0?[1-9])\/0?2)|((30|[12][0-9]|0?[1-9])\/(0?(4|6|9)|11))|((31|[12][0-9]|0?[1-9])\/(0?(1|3|5|7|8))|(10|12)))\/(\d{2}|\d{4}))$
Description
Datas com os anos bissextos. Anos de 2 ou 4 digitos Dates with leap years. Years 2 or 4 digits
Matches
31/01/2012 | 30/4/2012 | 10/01/12 | 29/2/2012
Non-Matches
31/01/013 | 31/4/2013 | 29/2/2002 | 29/2/2000
Author Rating: Not yet rated. Andre Banderas
Title Test Details Numero de telefone para o Brasil.
Expression
^(\(\d{2}\)?\s?|\d{2}(\-|\s))?\d{2,4}(\-|\s)?\d{4,5}$
Description
Número de telefones Brasileiros inclusive celular de São Paulo
Matches
(11) 9876-5432 | (11)9876-5432 | (11) 9876-54321 | 11-9876-54321 | 11 9876-5432 | 11 987654321 | 98765432 | 9876-5432
Non-Matches
(11) | (11-9876-5432 | (11) 9876 | 1198765432
Author Rating: The rating for this expression. Andre Banderas
   Displaying page 1 of 1 pages; Items 1 to 2

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