regex to extract a phone number with country code code example
Example 1: valid phone number regex with country code
((00)?(\+)?\d{1,3})[-\s]+(\d{1,3})[-\s]+(\d{4,10})
Example 2: regex to extract a phone number with country code
^\+(?:[0-9]●?){6,14}[0-9]$