phone regex

This commit is contained in:
Benjamin Palko 2024-12-30 17:34:25 -05:00
parent 7e53aaf5ac
commit d7479cd34f
2 changed files with 2 additions and 0 deletions

1
src/lib/regex/index.ts Normal file
View file

@ -0,0 +1 @@
export * from './phone';

1
src/lib/regex/phone.ts Normal file
View file

@ -0,0 +1 @@
export const PhoneRegex = /^(1-)?\d{3}-?\d{3}-?\d{4}$/;