Hello everyone here...
I need to build up a swing application related to vehicle registration and in which i want to do input the vehicle number of indian standard, like
AP-05-BJ-9353 TN-35-AB-638 MH-03-C-3843
Expression:
^[A-Z]{2}[-][0-9]{1,2}[-][A-Z]{1,2}[-][0-9]{3,4}$
Check the expression here: https://regexr.com/