I hate to ask another Regex question since there are a bunch out in the world of stack overflow. However, I am trying to do the following
Match a word or phrase that can have characters in the following sets:
in
u00C0-u1EF3
and in
x20-xFF
but not in
/:<>|?"*´§¤°¸¨'
I have tried various combinations of the following but can’t quite get it:
Here is one attempt:
^([\u00C0-\u1EF3]|[\x20-\xFF](?=[^\/:<>|?"*´§¤°¸¨']))$
The following lists of words or phrase should work
- kajslkfjsld
- alksdj laksjdflksd laksj22332
- 1234
- $asdf123
- alksjdf#09092
but the following should not match
- ?”*majslkdfjslk
- ¤°¸¨
I am using javascript for this.