Skip to content

Commit

Permalink
fix: reg no fix
Browse files Browse the repository at this point in the history
  • Loading branch information
woaitsAryan committed Jan 18, 2024
1 parent 671effa commit 8d21690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/validation/registerFormSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { parsePhoneNumber } from 'libphonenumber-js';
export const constants = {
vitEmailRegex: /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((vitstudent.ac.in)|(vit.ac.in))$/,
passwordRegex: /^[a-zA-Z0-9`!@#$%^&*()-/:'.,{}_"~]{8,50}$/, // 8-50 characters,
regNoRegex: /^22[A-Z]{3}\d{4}$/,
regNoRegex: /^2\d[A-Z]{3}\d{4}$/,
usernameRegex: /^[a-zA-Z0-9`!@#$%^&*()-/:'.,{}_"~]{3,20}$/,
};

Expand Down

0 comments on commit 8d21690

Please sign in to comment.