Skip to content

Commit

Permalink
chore: 🤖fix phone
Browse files Browse the repository at this point in the history
  • Loading branch information
Panxoat committed Jun 26, 2024
1 parent 222aaa4 commit 18ff07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/regex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const regex = {
},
NICKNAME: /^[0-9a-zA-Z가-힣]+$/,
EMAIL: /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/,
PHONE: /^(\d){3}-(\d){4}-(\d){4}$/,
PHONE: /^010-(\d){4}-(\d){4}$/,
PASSWORD: /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,20}$/,
EMAIL_VERIFICATION_CODE: /^\d+$/g,
USERNAME: /^[0-9a-zA-Z가-힣]+$/,
Expand Down

0 comments on commit 18ff07a

Please sign in to comment.