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 10
Title Test Details Phone Number Mex/USA/Int
Expression
^(\+(1\-)?\d{1,3})?(\s|\-)?(\s|\-)?((\(\d{2}\)|\d{2})(\s|\-)?\d{4}|(\(\d{3}\)|\d{3})(\s|\-)?\d{3})(\s|\-)?\d{4}(\s)?(x|ext|ext.)?(\d{1,6})?,?(\d{1,6})?,?(\d{1,6})?$
Description
Match mexican local or international numbers with optional area code parentheses and optional max 3 extensions with 6 chars length.
Matches
(55) 1234-5678 x123456,123,12 | 5512345678 | +1 (510) 123-5678 x1234
Non-Matches
+1 510 (55 1234-5678 | 12345678 x123 | +1 (510) 1234-5678 x1234567
Author Rating: Not yet rated. Asere Ware
Title Test Details Get key=value pair
Expression
(?<key>\w+?)\s*?=\s*?(?<value>\w+)\s*
Description
Get key=value pair, no mater where they are.
Matches
key=KAKI&n=789,index=12 type=7
Non-Matches
14788,654
Author Rating: Not yet rated. Asere Ware
Title Test Details Get report URL parameters (SSRS)
Expression
(?<key>[\w+\s-:]*?)\s*?=\s*?(?<value>[\w+\s-]*)\s*
Description
Gets the reports parameters
Matches
vw_welcome&rs:Command=Render&rc:Parameters=false&rc:Zoom=Page Width&rc:Toolbar=false&rs:ParameterLanguage=es-MX
Non-Matches
vw_welcome&rs:Command
Author Rating: Not yet rated. Asere Ware
Title Test Details Interpolation match for binding variables
Expression
^({{(\s+)?v)[\.-:_](\w+(\s+)?}})$
Description
Match some varibles names starting with {{v. en ended with }}
Matches
{{v.input1}}, {{v:a2}}
Non-Matches
v.input1, v.:a2, {v.input1}
Author Rating: Not yet rated. Asere Ware
Title Test Details Email with optional undercore before @
Expression
^(?("")(""[^""]+?""(_+)?@)|(([0-9a-z]((\.(?!\.))|[-!#\$%&'\*\+/=\?\^`\{\}\|~\w])*)(?<=[0-9a-z])(_+)?@))(?(\[)(\[(\d{1,3}\.){3}\d{1,3}\])|(([0-9a-z][-\w]*[0-9a-z]*\.)+[a-z0-9]{2,17}))$
Description
Allows emails with underscore before @
Matches
Non-Matches
Author Rating: Not yet rated. Asere Ware
Title Test Details Email 2 with optional undercore before @
Expression
^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\;".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$
Description
Allows common email (like Hotmail)
Matches
Non-Matches
Author Rating: Not yet rated. Asere Ware
Title Test Details Password Hard
Expression
^(?=.*\W)(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,20}$
Description
Not to much hard
Matches
My-Pass1
Non-Matches
mypass
Author Rating: Not yet rated. Asere Ware
Title Test Details User Identity Name
Expression
^[\.A-Z0-9a-z_-]{2,50}$
Description
Simple user identity name
Matches
asere.ware
Non-Matches
asere@ware
Author Rating: Not yet rated. Asere Ware
Title Test Details Simple RFC Mexican
Expression
^[A-ZÑ&]{3,4}\d{6}(?:[A-Z\d]{3})?$
Description
A simple mexican RFC format check.
Matches
XAXX010101000
Non-Matches
XA010101000
Author Rating: Not yet rated. Asere Ware
   Displaying page 1 of 1 pages; Items 1 to 10

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