Title |
Test
Find
Pattern Title
|
Expression |
^([30|36|38]{2})([0-9]{12})$ |
Description |
Validate against any diner's club card. All diner club cards start with 30,36, or 38, followed by 12 other numbers. |
Matches |
30125212365212 | 36125212365212 | 38125212365212 |
Non-Matches |
301252123652121 | 40256631125452 | 361251254125212 |
Author |
Rating:
Jeff Johns
|
Source |
|
Your Rating |
|
Title: ME
Name: ME
Date: 7/17/2015 3:29:55 PM
Comment:
83123456789012
is valid
right regexp
^3([068]{1})([0-9]{12})$
Title: WTF
Name: WTF
Date: 8/26/2011 8:04:38 PM
Comment:
/^[a-z\d][a-z\d\-]{0,31}[a-z\d]$/i