Displaying page
of
pages;
Items to
Title |
Test
Details
URL
|
Expression |
http://www.google.com |
Description |
Test |
Matches |
http://www.google.com |
Non-Matches |
ww.google.com |
Author |
Rating:
Not yet rated.
divya sodhi
|
Title |
Test
Details
Nextel Telephone
|
Expression |
/^(\d+\*)+(\d)+$/gm |
Description |
This expression works for the Nextel Numbers |
Matches |
999*9999|9999*99*9999 |
Non-Matches |
99999|999*999* |
Author |
Rating:
Not yet rated.
Mauro Rodriguez
|
Title |
Test
Details
ISBN10 / 13
|
Expression |
(ISBN[-]*(1[03])*[ ]*(: ){0,1})*(([0-9Xx][- ]*){13}|([0-9Xx][- ]*){10}) |
Description |
Matches isbn10 or isbn13 |
Matches |
1234123412 | 123412341X | ISBN 0 93028 923 4 | ISBN 1-56389-668-0 | ISBN 1-56389-016-X | 123456789X | ISBN 9-87654321-2 | ISBN 123 456-789X | ISBN 90-70002-34-5 | ISBN 90-70002-34-x | ISBN 90-70002-34-5x | ISBN 90-700-02-34-5 | 0672317249 | 9780672317248 | 0-672-31724-9 | 5555555555555 | ISBN 0-596-00681-0 | ISBN-13: 978-1-4028-9462-6 | ISBN: 1284233-2-1-1 | ISBN-13: 978-1-4028-9462-6 | ISBN-10: 1-4028-9462-7 | ISBN-13 978-3-642-11746-6 SomeText | ISBN 978-3-642-11746-6 | ISBN-10 3-642-11746-5 SomeText | ISBN 3-642-11746-5 | ISBN: 978-3-642-11746-6 | ISBN : 978-3-642-11746-6 | ISBN-10 : 3-642- |
Non-Matches |
Haven't tested this part |
Author |
Rating:
Churk
|
Title |
Test
Details
GUID
|
Expression |
(?i)^(?<brace>(?<curly>\{)|(?<round>\())?[\dA-F]{8}(?(brace)(?<sep>-)|(?<sep>-)?)(?:[\dA-Z]{4}(?(sep)-)){3}[\dA-F]{12}(?(curly)\})(?(round)\))$ |
Description |
Matches all C # Guid ToString representationens except the hexadecimal notation. |
Matches |
ACFE7A48-717D-4345-90C6-E6BC568B2F32|{ACFE7A48-717D-4345-90C6-E6BC568B2F32}|(ACFE7A48-717D-4345-90C6-E6BC568B2F32)|ACFE7A48717D434590C6E6BC568B2F32 |
Non-Matches |
(ACFE7A48-717D-4345-90C6-E6BC568B2F32}|{ACFE7A48-717D-4345-90C6-E6BC568B2F32)|{ACFE7A48-717D-434590C6-E6BC568B2F32}|{ACFE7A48717D434590C6E6BC568B2F32}|(ACFE7A48717D434590C6E6BC568B2F32) |
Author |
Rating:
Vera Rindvieh
|
Title |
Test
Details
IP Address validator
|
Expression |
^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$ |
Description |
Validates an IP Address. I use it in perl. |
Matches |
10.0.0.1, 192.168.1.1 |
Non-Matches |
10.020.3.10, 10.1111.23.1, 192.168.1.15_1 |
Author |
Rating:
Not yet rated.
gansvv
|
Title |
Test
Details
Email
|
Expression |
[A-Za-z_.0-9-]+@{1}[a-z]+([.]{1}[a-z]{2,4})+ |
Description |
Useful and easy to use RegEx for email validation. Allowed alphabets (capital and small), 0 to 9, ".", "_" and "-" before "@". Then exactly one "@" is allowed in whole email then small letters (1 or more) then multiple set of "." and alphabets (2 to 4) |
Matches |
|
Non-Matches |
|
Author |
Rating:
Not yet rated.
Hamza Hasan
|
Title |
Test
Details
pincode
|
Expression |
^[1-9][0-9][0-9][0-9][0-9][0-9]$ |
Description |
picode test |
Matches |
221001 |
Non-Matches |
abcdd |
Author |
Rating:
Not yet rated.
sdpmwptc
|
Title |
Test
Details
TCP/UDP port number
|
Expression |
^([1-9]\d{0,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])$ |
Description |
Match TCP/UDP port number between 1 and 65535 |
Matches |
1 | 23 | 1024 | 65535 |
Non-Matches |
0 | 65536 |
Author |
Rating:
Aleksandr Gusarov
|
Title |
Test
Details
Date regex
|
Expression |
^((19[0-9][0-9])|(20[0-1][0-5]))\-((0?[1-9])|(1[0-2]))\-((0?[1-9])|([1-2][0-9])|(3[0-1]))$ |
Description |
Year, month and day with dashes.Year starts from 1900 to 2015 and must be 4 digits. |
Matches |
2012-05-21 | 1960-12-14 | 1910-5-3 |
Non-Matches |
2011/5/21 | 60-12-14 | 2021-5-3 |
Author |
Rating:
Soroush gholamzadeh
|
Title |
Test
Details
Spelling mistakes in Last Name
|
Expression |
^\w+\W+(\w+)([a-z])(\w+)\s\&\s\w+\W+\1(?!\2)[a-z]\3$ |
Description |
Spelling mistakes found in last name 2nd letter to before a end letter |
Matches |
Steven Smith & William smlth; Michael Joseph & Mary josaph |
Non-Matches |
Steven smith & William smith |
Author |
Rating:
Not yet rated.
S Vijayakumar
|
Title |
Test
Details
Spelling mistakes in Last Name-1
|
Expression |
^\w+\W+[a-z]\W+(\w+)([a-z])(\w+)\s\&\s\w+\W+[a-z]\W+\1(?!\2)[a-z]\3$ |
Description |
Spelling mistakes found in last name 2nd letter to before a end letter |
Matches |
william a parker & john l perker |
Non-Matches |
John a smith & William b smith |
Author |
Rating:
Not yet rated.
S Vijayakumar
|
Title |
Test
Details
SQL Injection
|
Expression |
(=)|(<)|(>)|(')|(--)|(/)|(\+)|(;)|(\*)|(!)|({)|(})|(drop table)|(drop stored)|(alter table)|(alter stored)|(sp_)|(xp_)|(exec )|(execute )|(fetch)|(select)|(kill)|(selectsys)|(sysobjects)|(syscolumns)|(isnull)|(coalesce)|(dbo)|(tbl)|(usp) |
Description |
Prevent to use any text that can be executed on the database, it limits many options on the text but is safer than let all on the framework |
Matches |
example' OR 1=1, drop all the walls and drop table |
Non-Matches |
this is an example regex |
Author |
Rating:
Roberto
|
Title |
Test
Details
SSN
|
Expression |
Get-ChildItem -rec -exclude *.exe,*.dll |select-string "\b(?!000)(?!666)(?!9)[0-9]{3}[ |-]*[ -]?(?!00)[0-9]{2}[ |-]*[ -]?(?!0000)[0-9]{4}\b|[0-9]{3}[-| ][0-9]{2}[-| ][0-9]{4}" |
Description |
Social Security Search |
Matches |
AAA-GG-SSSS, AAA GG SSSS, AAA-GG SSSS, AAA GG-SSSS, AAAGGSSSS, AAA-GGSSSS, AAAGG-SSSS, AAAGG SSSS or AAA GGSSSS |
Non-Matches |
000123456, 666123456, 912345678, 123004567, 12345000 |
Author |
Rating:
Not yet rated.
Jamil Salomon
|
Title |
Test
Details
Validate format Date dd/MM
|
Expression |
^((0?[1-9]|[12][0-9]|3[01])[\/](0?[1-9]|1[0-2]))$ |
Description |
Validate a date in format dd/MM Days 01 to 31, Months 01 to 12 |
Matches |
01/01, 11/04, 31/12 |
Non-Matches |
32/12, 28/15 |
Author |
Rating:
Not yet rated.
Adrian Medina
|
Title |
Test
Details
Phone
|
Expression |
^(\+{1,2}?([0-9]{2,4}|\([0-9]{2,4}\))?(-|\s)?)?[0-9]{2,3}(-|\s)?[0-9\-]{5,10}$ |
Description |
Detect most pattern of universal phone numbers |
Matches |
+(934)-50-1234567 |
Non-Matches |
-94-567834 |
Author |
Rating:
Not yet rated.
Nir
|
Title |
Test
Details
Facebook Event
|
Expression |
http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/(events/[0-9]+|[a-zA-Z0-9\.-]+)[/]?$ |
Description |
Validating facebook events url with rules such as with "www" or without "www", include localization domain such as "en-gb" |
Matches |
http://www.facebook.com/events/233933596702267 https://www.facebook.com/events/233933596702267 |
Non-Matches |
http://facebook.com/pages/Andy-Worthington/196377860390800 | www.facebook.com/pages/Andy-Worthington/196377860390800 | http://www.facebook.com/people/Andy-Worthington/738143803 |
Author |
Rating:
Not yet rated.
Simon
|
Title |
Test
Details
URL
|
Expression |
^(http(?:s)?\:\/\/[a-zA-Z0-9]+(?:(?:\.|\-)[a-zA-Z0-9]+)+(?:\:\d+)?(?:\/[\w\-]+)*(?:\/?|\/\w+\.[a-zA-Z]{2,7}(?:\?[\w]+\=[\w\-]+)?)?(?:\&[\w]+\=[\w\-]+)*)$ |
Description |
A simple but powerful URL validating regex. Accepts multiple sub-domains and sub-directories. Even accepts query strings ande ports! Accepts HTTP or HTTPS. Also accepts optional "/" on end of address. This may be the mother of all URL regexes. It's much more stricter than most others that do far less. |
Matches |
http://website.com | http://subdomain.web-site.com/cgi-bin/perl.cgi?key1=value1&key2=value2 |
Non-Matches |
http://website.com/perl.cgi?key= | http://web-site.com/cgi-bin/perl.cgi?key1=value1&key2 |
Author |
Rating:
Not yet rated.
Ted Cambron
|
Title |
Test
Details
Email
|
Expression |
^([a-zA-Z0-9]+(?:[.-]?[a-zA-Z0-9]+)*@[a-zA-Z0-9]+(?:[.-]?[a-zA-Z0-9]+)*\.[a-zA-Z]{2,7})$ |
Description |
Yet another regex to help validate email addresses. This will work for 99% of all email addresses entered into the average website form. Stricter than RFC2822. |
Matches |
|
Non-Matches |
|
Author |
Rating:
Not yet rated.
Ted Cambron
|
Title |
Test
Details
Image URL
|
Expression |
^(http\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,7}(?:\/[\w\-]+)*\.(?:jpg|jpeg|gif|png))$ |
Description |
An overly simple regex to verify a URL pointing towards an image. It's usually all you need for this purpose. |
Matches |
http://website.com/directory/image.gif |
Non-Matches |
www.website.com/image.php |
Author |
Rating:
Not yet rated.
Ted Cambron
|
Title |
Test
Details
Query String
|
Expression |
^((?:\?[a-zA-Z0-9_]+\=[a-zA-Z0-9_]+)?(?:\&[a-zA-Z0-9_]+\=[a-zA-Z0-9_]+)*)$ |
Description |
This is a very simple regex that check the query part of a string. That is to say anything after the "?" at the end of an URL. |
Matches |
?key=value | ?key1=value1&key2=value2 |
Non-Matches |
key=value | ?key=value& |
Author |
Rating:
Not yet rated.
Ted Cambron
|
Displaying page
of
pages;
Items to