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
^[A-Z]{2}\s[0-9]{1,2}\s[A-Z]{1,2}\s[0-9]{1,4}$
The above regex will work for the following types
DL 01 AA 1111
DL 0 AA 1111
DL 1 A 1111
DL 0 A 11
DL 01 AA 111