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 1
Title Test Details 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
   Displaying page 1 of 1 pages; Items 1 to 1

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