A regular expression to match and validate Vehicle Registration Numbers in India.
/^([A-Z|a-z]{2}\s{1}\d{2}\s{1}[A-Z|a-z]{1,2}\s{1}\d{1,4})?([A-Z|a-z]{3}\s{1}\d{1,4})?$/
Matches:
- KA 08 J 9192
- UP 19 D 0343
- HR 26 TC 7174
Non-matches:
- KA 08 J 919
- UPD 19 D 0343
- 199 CC 999
See Also:
- GSTIN Number Regular Expression
- Indian Postal/Pin/Zip Code Regular Expression
- Indian Phone Number Regular Expression
- Indian Financial System Code Regular Expression