Build, test, and debug regular expressions
This regex validates international phone numbers in multiple formats. It matches sequences of 10-21 digits, numbers with country codes (with or without + prefix), numbers with various separators (spaces, hyphens, periods), and optionally supports extensions marked with ext., x, or extention. The pattern handles both simple and complex phone number formats commonly used worldwide.