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 19
Title Test Details 24 bit hex color
Expression
(?:#|0x)?(?:[0-9A-F]{2}){3}
Description
24 bit hex color preceding with 0x or # . From http://tools.twainscanning.com/getmyregex .
Matches
#FF006C
Non-Matches
99AAB7FF
Author Rating: Not yet rated. RobertKaw
Title Test Details 32 bit hex color
Expression
(?:#|0x)?(?:[0-9A-F]{2}){4}
Description
32 bit hex color preceding with 0x or # . From http://tools.twainscanning.com/getmyregex .
Matches
0xF0F73611
Non-Matches
#FF006C
Author Rating: Not yet rated. RobertKaw
Title Test Details American Express credit card number
Expression
3[47]\d{13}
Description
American Express credit card number . From http://tools.twainscanning.com/getmyregex .
Matches
371449635398431
Non-Matches
37144935398431
Author Rating: Not yet rated. RobertKaw
Title Test Details Diners Club Card credit card number
Expression
3(?:0[012345]|[68]\d)\d{11}
Description
Diners Club Card credit card number. From http://tools.twainscanning.com/getmyregex
Matches
36438936438936
Non-Matches
3643836438936
Author Rating: The rating for this expression. RobertKaw
Title Test Details Discover Card credit card number
Expression
6(?:011|5\d{2})\d{12}
Description
Discover Card credit card number. From http://tools.twainscanning.com/getmyregex
Matches
6011016011016011
Non-Matches
60116011016011
Author Rating: Not yet rated. RobertKaw
Title Test Details JCB Card credit card number
Expression
(?:2131|1800|35\d{3})\d{11}
Description
JCB Card credit card number. From http://tools.twainscanning.com/getmyregex
Matches
3566003566003566
Non-Matches
356600356003566
Author Rating: Not yet rated. RobertKaw
Title Test Details MasterCard credit card number
Expression
5[12345]\d{14}
Description
MasterCard credit card number. From http://tools.twainscanning.com/getmyregex
Matches
5500005555555559
Non-Matches
55000055555559
Author Rating: Not yet rated. RobertKaw
Title Test Details UnionPay Card
Expression
62[0-9]{14,17}
Description
UnionPay Card credit card number. From http://tools.twainscanning.com/getmyregex
Matches
6240008631401148
Non-Matches
624000831401148
Author Rating: Not yet rated. RobertKaw
Title Test Details Visa credit card number
Expression
4\d{12}(?:\d{3})?
Description
Visa credit card number. From http://tools.twainscanning.com/getmyregex
Matches
4110144110144115
Non-Matches
411014410144115
Author Rating: Not yet rated. RobertKaw
Title Test Details Date Day/Month/Year
Expression
(?:3[01]|[12][0-9]|0?[1-9])[/.-](?:1[0-2]|0?[1-9])[/.-][0-9]{4}
Description
Date Day/Month/Year. From http://tools.twainscanning.com/getmyregex
Matches
31/08/2015 | 31-08-2015
Non-Matches
2015-08-31
Author Rating: Not yet rated. RobertKaw
Title Test Details Date Year-Month-Day
Expression
[0-9]{4}[/.-](?:1[0-2]|0?[1-9])[/.-](?:3[01]|[12][0-9]|0?[1-9])
Description
Date Year-Month-Day. From http://tools.twainscanning.com/getmyregex
Matches
2015-08-31
Non-Matches
31/08/2015
Author Rating: Not yet rated. RobertKaw
Title Test Details Decimal number
Expression
\d[\d,]*(?:\.\d+)?
Description
Decimal number. From http://tools.twainscanning.com/getmyregex
Matches
1,128.09
Non-Matches
128F
Author Rating: Not yet rated. RobertKaw
Title Test Details Email ([email protected])
Expression
[\w!#$%&'*+./=?`{|}~^-]+@[\d.A-Za-z-]+
Description
Email ([email protected]). From http://tools.twainscanning.com/getmyregex
Matches
Non-Matches
foo.bar#gmail.co.uk
Author Rating: The rating for this expression. RobertKaw
Title Test Details Google Analytics Segment by source social media
Expression
(facebook|twitter|youtube)
Description
Google Analytics Segment by source social media. From http://tools.twainscanning.com/getmyregex .
Matches
facebook | twitter | youtube
Non-Matches
imgur
Author Rating: Not yet rated. RobertKaw
Title Test Details Number Binary (10101010)
Expression
[0-1]+
Description
Number Binary (10101010) . From http://tools.twainscanning.com/getmyregex .
Matches
10101010
Non-Matches
10101012
Author Rating: Not yet rated. RobertKaw
Title Test Details Number Decimal (65535)
Expression
[0-9]+
Description
Number Decimal (65535) . From http://tools.twainscanning.com/getmyregex .
Matches
65535
Non-Matches
65A35
Author Rating: Not yet rated. RobertKaw
Title Test Details Number Hexadecimal (FFFF)
Expression
[0-9a-fA-F]+
Description
Number Hexadecimal (FFFF) . From http://tools.twainscanning.com/getmyregex .
Matches
FFFF
Non-Matches
FFFG
Author Rating: Not yet rated. RobertKaw
Title Test Details Number Octal (177777)
Expression
[0-7]+
Description
Number Octal (177777) . From http://tools.twainscanning.com/getmyregex .
Matches
177777
Non-Matches
177778
Author Rating: Not yet rated. RobertKaw
Title Test Details IP address IPv4 (127.0.0.1)
Expression
((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])
Description
IP address IPv4 (127.0.0.1) . From http://tools.twainscanning.com/getmyregex .
Matches
127.0.0.1
Non-Matches
127-0-0-1
Author Rating: Not yet rated. RobertKaw
   Displaying page 1 of 1 pages; Items 1 to 19

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