I'm looking for a regular expression that allows me to use lowercase letters, uppercase letters, numbers 0-9 but also allows me to use whitespace and only allows # and -
var exp4 = /^[a-zA-Z áéíóúÁÉÍÓÚñÑ]*$/;
I have this expression that allows me to do the above plus it lets the accents through, but I haven't found one that allows me the other.
A hand please!!
According to the rules you mentioned, since you didn't mention maximum positions and order, I think this would help you.
I hope to be of help, regards.