English, asked by rohan6745, 1 year ago

Fill the code to accept only alphabets, numbers and underscore, minimum 8 and maximum 15 characters in html 5

Answers

Answered by ankursinghMaths
0
^[a-zA-Z0-9]{8,16}$

You can specify the minimum/maximum gathered using {X,Y} as the boundaries.

Other examples:
^[a-zA-Z0-9]{8,}$ #8 or more characters
^[a-zA-Z0-9]{,16}$ #Less than or equal to 16 characters
^[a-zA-Z0-9]{8}$ #Exactly 8 characters



hope this helps you. ....
follow me and mark it as brainliest answer...
Similar questions