I have this example for pattern in HTML pattern="[a-zA-Z0-9-_. ]{1,30}"
. This means that only letters numbers and -_.
are allowed, but I want to make a pattern like in the preg_replace
which allows everything but not [ <>/\:*?"|]
.
So how can I go with this?