Test, validate and match regular expressions
This regular expression matches older style telephone numbers, specifically those that divide digits into small blocks separated by spaces. It looks for an area code encased in parentheses, containing two to three groups of digits, followed by two to five groups of digits for the local number. This is particularly useful for cleaning or parsing legacy datasets, such as old German phone records where numbers were written like (0 89) 12 34 56.