Special sequences (character classes) in Python RegEx are escapes like \\w or \\d that matches a set of characters.
\\w
\\d
In my case, I need to b
You can use r"[^\W\d]", ie. invert the union of non-alphanumerics and numbers.
r"[^\W\d]"