allow region code
This commit is contained in:
parent
30517b504f
commit
2201b078d5
1 changed files with 1 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
export const PhoneRegex = /^(1-)?\d{3}-?\d{3}-?\d{4}$/;
|
||||
export const PhoneRegex = /^\+?\d?(\d{3}\d{3}\d{4}|\d{3}-\d{3}-\d{4})$/;
|
||||
Loading…
Add table
Reference in a new issue