I want to make pre-validation of some input form with new HTML5 pattern attirbute. My dataset is "Domain Name", so <input type="url">
regex preset isn't applied.
But there is a problem, I wont use A-Za-z
, because of damned IDN's (Internationalized domain name).
So question: is there any way to use <input pattern="">
for random non-english letters validation ?
I tried \w
ofcource but it works only for latin...
Maybe someone has a set of some \xNN-\xNN
which guarantees entering of ALL unicode alpha characters, or some another way?
edit: "This question may already have an answer here:" - no, there is no answer.