Test, validate and match regular expressions
This regular expression is a lenient validator and parser for Indian vehicle registration plates (license plates). It captures the four main components—state code, district code, letter series, and registration number—while allowing any non-alphanumeric separators (like spaces or dashes) between them. It is specifically designed for data transformation and extraction where users might input varying formats like "KA 01 AB 1234" or "mh12-xy-9876".