Build, test, and debug regular expressions
This regular expression matches basic E.164 international phone numbers, ensuring the string starts with a plus sign (+) and contains a total of 7 to 15 digits. It allows optional spaces between the digits but restricts trailing spaces. It is commonly used to validate and standardize phone number inputs in forms and databases.