I have never got my head around using regular expressions, so I have a bit of an issue understanding why my below listed regex. doesn't only allow the below listed characters:
- A-Z & a-z (upper & lower)
- ÅÄÖ & åäö
- 0-9 & _ (underscore)
Here's the regex:
/^[\s\da-0-9-zA-ZåäöÅÄÖ_]$/i
What am I doing wrong?