Skip to content

Commit

Permalink
fix: regex for roll num
Browse files Browse the repository at this point in the history
  • Loading branch information
Srish-ty committed Mar 13, 2024
1 parent 2fcfa22 commit 3a0d72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/formInformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const inputContent = [
id: 'recRollNumber',
label: 'REC Roll Number',
type: 'text',
regex: '^d{3}[a-zA-Z]{2}d{4}$',
regex: '^\d{3}[a-zA-Z]{2}\d{4}$',
maxLength: 11,
minLength: 7,
placeholder: 'REC Roll Number (for Example: A4275)',
Expand Down

0 comments on commit 3a0d72b

Please sign in to comment.