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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^([A-Z|a-z]{2}-\d{2}-[A-Z|a-z]{2}-\d{1,4})?([A-Z|a-z]{3}-\d{1,4})?$
Description
It validates Indian Vehicle Registration Number
Matches
mh-12-bj-1780 | mmx-1234
Non-Matches
mmm-123-1234 | mm-12345
Author Rating: Not yet rated. himraj love
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: tried in some other way
Name: himraj13
Date: 2/11/2005 8:23:51 AM
Comment:
------------------------------------------------------------ Title: try in some other way Name: akkireddy Date: 1/29/2005 2:39:36 AM Comment: please try to write in the pattern ap 23 e 1234 ------------------------------------------------------------ HI THERE!!! AS U WER ASKING TO TRIED IN SOME OTHER WAY SO I DID IN OTHER WAY. I TOOK YOUR EXAMPLE AND MODIFIED THE PATTERN. CHECK IT OUT. I'VE ADDED AS NEW PATTERN SO IF YOU SEARCH FOR THE PATTERNS YOU WILL FIND 2 PATTERNS FOR THE SAME.


Title: try in some other way
Name: akkireddy
Date: 1/29/2005 2:39:36 AM
Comment:
please try to write in the pattern ap 23 e 1234


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