Test, validate and match regular expressions
This regular expression matches phone numbers formatted with a plus sign and a two-digit country code enclosed in parentheses, followed by a whitespace character. It then expects three sets of three digits separated by hyphens, resulting in a format like (+12) 345-678-901. It is ideal for validating or extracting strictly formatted international phone numbers from text documents or user input.