Build, test, and debug regular expressions
This regular expression validates French phone numbers in both domestic (starting with 0) and international (+33 or 0033) formats. It accommodates optional spacing, dots, or hyphens between digits, as well as an optional (0) following the country code. The pattern ensures the first digit of the actual phone number is between 1 and 9, matching various digit groupings like xx xx xx xx xx or xxx xxx xxx.