allow region code

This commit is contained in:
Benjamin Palko 2024-12-30 23:47:51 -05:00
parent 30517b504f
commit 2201b078d5

View file

@ -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})$/;