diff --git a/src/lib/regex/phone.ts b/src/lib/regex/phone.ts index 116afc4..ff0ad0c 100644 --- a/src/lib/regex/phone.ts +++ b/src/lib/regex/phone.ts @@ -1 +1 @@ -export const PhoneRegex = /^(1-)?\d{3}-?\d{3}-?\d{4}$/; \ No newline at end of file +export const PhoneRegex = /^\+?\d?(\d{3}\d{3}\d{4}|\d{3}-\d{3}-\d{4})$/; \ No newline at end of file