Test, validate and match regular expressions
This regular expression matches international, UK, and US phone numbers by allowing an optional leading '+' for country codes. It supports common formatting characters such as spaces, dots, hyphens, and parentheses alongside digits. The pattern requires the total string length to be between 3 and 24 characters. It is ideal for validating user input in contact forms that need to accept diverse phone number formats.