Test, validate and match regular expressions
This regex matches a 12-digit Aadhaar-like number by grouping digits into four sets of four, with an optional single character separator (space, dash, etc.) between groups. It is useful for extracting or validating Aadhaar card numbers from text, allowing for common formatting variations. The multiline flag ensures matching at line boundaries, and the global flag finds all occurrences.