Answers for "regex on input"

-2

regex on input

<form>
 <label for="username">Username <i>(letters and numbers only, no  punctuation or special characters)</i></label><br>
 <input name="username" id="username" pattern="[A-Za-z0-9]+">
</form>
Posted by: Guest on February-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language