Answers for "regular expression attribute input"

1

regular expression to look for html tags

<.+?>
Posted by: Guest on December-21-2020
-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

Browse Popular Code Answers by Language