12 implement twilio sms #37
2 changed files with 2 additions and 0 deletions
1
src/lib/regex/index.ts
Normal file
1
src/lib/regex/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from './phone';
|
||||
1
src/lib/regex/phone.ts
Normal file
1
src/lib/regex/phone.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export const PhoneRegex = /^(1-)?\d{3}-?\d{3}-?\d{4}$/;
|
||||
Loading…
Add table
Reference in a new issue