Special sequences (character classes) in Python RegEx are escapes like
that matches a set of characters.
In my case, I need to be able to match all alpha-numerical characters except numbers.
I need to use the special sequence
because I'm dealing with non-ASCII
characters and need to match symbols like "Æ" and "Ø".
One would think I could use this expression:
but it doesn't seem to match anything and I'm not sure why.
So in short, how can I mix (add/subtract) special sequences in Python Regular Expressions?
: I accidentally used
. The latter does indeed match something, including parentheses and commas which are not alpha-numerical characters as far as I'm concerned.