Driving licenses are different around the world. Which country or state do you need the regular expression for?
For the UK a regular expression like this should work.
^[A-Z0-9]{5}\d[0156]\d([0][1-9]|[12]\d|3[01])\d[A-Z0-9]{3}[A-Z]{2}$
Hi Anjali,
For Indian Driving License you can use the following regex.
^[A-Z]{2}[0-9]{2}( )?[0-9]{11}$
Hope it helps!