I was wondering if there is a way with Regex to accept characters associated with a given WHILE character set that negates a couple of other characters?
For example, consider the case where I want to accept all characters, numbers, and underscores ( \w), except for a letter eand a number 1. Is there a quick way to do this? Ideally, I would like something similar to ^[\w^e1]$, although I know that this particular one will not work.
source
share