I need to validate a text input so a user can insert characters/text that may include German umlauts, French accents and any other valid European characters, for example the minuscule ø.
I am using AngularJS so I am applying my validation rule to the ng-pattern
attribute like so:
ng-pattern="/^[A-Za-z0-9 \-_.]*$/"
I was hoping this would cover characters like äöüß but when testing it doesn't. Sorry to ask such a lame question but I am really bad at RegEx! There must be a better way than manually listing the letters like so ng-pattern="/^[A-Za-z0-9äöüÄÖÜ \-_.]*$/"