| Title |
Test
Find
Pattern Title
|
| Expression |
^([0-9]{6}[\s\-]{1}[0-9]{12}|[0-9]{18})$ |
| Description |
This regular expression matches 'Switch' card numbers - a payment method used extensively in the UK. |
| Matches |
000000 000000000000 | 000000-000000000000 | 000000000000000000 |
| Non-Matches |
000000_000000000000 |
| Author |
Rating:
Not yet rated.
Scott Frampton
|
| Source |
|
| Your Rating |
|
Title: wrong method
Name: brt4ce
Date: 10/17/2011 4:21:27 AM
Comment:
There is a method to check card number but its not a regex ...