RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

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: The rating for this expression. Richard Slade
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

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.


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