+ 5
What attribute can you use to specify a regular expression which describes a valid value for an input element?
3 Antworten
+ 3
In which technology ?
+ 1
Sounds like you are talking about an HTML input element?
If so it would be the `pattern` attribute:
https://www.w3schools.com/tags/att_input_pattern.asp
0
Gaurav Singh see this code. It generates a regex from a given text:https://code.sololearn.com/c9bMO7j9R5J8/?ref=app