I have this regexp:
var desExp = /^\s*([\wåäö][^\w]*){3}.*$/gm;
This is for validating a textarea.
Currently, you cant use the three Swedish language letters in the beginning.
The letters are å, ä, ö, Å, Ä, Ö.
Also, I would like it to allow the minus sign and the star (multiplication) sign:
- and *
Is there any remake to allow them in the beginning?
They are currently allowed in the middle of texts, and endings...
Here is how I compare:
if (!fld.value.match(desExp)){
//ERROR
Thanks
UPDATE:
The above allows small characters of swedish å ä ö, but not uppercase, and not multiplication-sign and minus-sign, which I still need to work.
Thanks