us phone validator regex code example Example: valid phone number regex with country code ((00)?(\+)?\d{1,3})[-\s]+(\d{1,3})[-\s]+(\d{4,10})