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 8
Title Test Details Pattern Title
Expression
(^[A-ZÀ-Ü]{1}[a-zà-ü']+\s[a-zA-Zà-üÀ-Ü]+((([\s\.'])|([a-zà-ü']+))|[a-zà-ü']+[a-zA-Zà-üÀ-Ü']+))
Description
Checks if has the first and the last name, and check the capital letters. Use with the RegExp.test method
Matches
Carlos Rodrigues | Cá de Laaa | Crras R. L. Rodrigües
Non-Matches
aaäA
Author Rating: Not yet rated. Carlos R. L. Rodrigues
Title Test Details Pattern Title
Expression
(^((((0[1-9])|([1-2][0-9])|(3[0-1]))|([1-9]))\x2F(((0[1-9])|(1[0-2]))|([1-9]))\x2F(([0-9]{2})|(((19)|([2]([0]{1})))([0-9]{2}))))$)
Description
dd/mm/yy Check dates between 1/1/1900 - 31/12/2099
Matches
31/12/2099 | 1/1/1900 | 10/12/2003
Non-Matches
05/11/3000 | 11/13/2003 | 32/04/2030
Author Rating: Not yet rated. Carlos R. L. Rodrigues
Title Test Details Pattern Title
Expression
(^\d{3}\x2E\d{3}\x2E\d{3}\x2D\d{2}$)
Description
Brazilian cpf
Matches
123.123.123-12
Non-Matches
123.123.103.32 | 123 123 123 12 | sa3.332.322-12
Author Rating: The rating for this expression. Carlos R. L. Rodrigues
Title Test Details Pattern Title
Expression
(^\d{5}\x2D\d{3}$)
Description
Brazilian cep
Matches
12345-678
Non-Matches
12345678 | 123456-12 | 12345.678
Author Rating: The rating for this expression. Carlos R. L. Rodrigues
Title Test Details Pattern Title
Expression
(^[0-9]{2,3}\.[0-9]{3}\.[0-9]{3}\/[0-9]{4}-[0-9]{2}$)
Description
Brazilian CNPJ
Matches
01.004.717/0001-74
Non-Matches
01.004.717000174
Author Rating: The rating for this expression. Carlos R. L. Rodrigues
Title Test Details Pattern Title
Expression
(?!\.)[a-z]{1,4}$
Description
Matches files extension
Matches
file.jpg | file.c | file.gif
Non-Matches
file.34
Author Rating: The rating for this expression. Carlos R. L. Rodrigues
Title Test Details Pattern Title
Expression
^(([0-1]?[0-9])|([2][0-3])):([0-5]?[0-9])(:([0-5]?[0-9]))?$
Description
Time in 24 hours format with optional seconds
Matches
12:15 | 10:26:59 | 22:01:15
Non-Matches
24:10:25 | 13:2:60
Author Rating: The rating for this expression. Carlos R. L. Rodrigues
   Displaying page 1 of 1 pages; Items 1 to 8

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