How can I exclude some characters from a class?

Viewed 21549

Say I want to match a "word" character (\w), but exclude "_", or match a whitespace character (\s), but exclude "\t". How can I do this?

1 Answers
Related