Build, test, and debug regular expressions
This regex matches any string containing exactly nine digits (0-9) from start to end, with no dashes, spaces, or other characters allowed. It is commonly used to validate U.S. Social Security Numbers written in compact form (e.g., 123456789) rather than the dashed 123-45-6789 format. The global flag enables finding all matches within a larger text, while the case-insensitive flag has no practical effect since digits have no case.