| Title |
Test
Find
Pattern Title
|
| Expression |
^[0-9]{2}[-][0-9]{2}[-][0-9]{2}$ |
| Description |
Validates a UK Bank Sort code |
| Matches |
09-01-29 | 05-06-25 |
| Non-Matches |
090125 |
| Author |
Rating:
Richard Slade
|
| Source |
|
| Your Rating |
|
Title: Good basis for creating another RegExp
Name: JP
Date: 9/6/2005 4:00:57 AM
Comment:
Used this RegExp as a basis to create another for validating "123,123,123" (or ^[\042][0-9]{1,3}[,][0-9]{1,3}[,][0-9]{1,3}[\042]$
)- Found this example nice and easy to follow, and was the closest thing to what I needed to do.