You can have a negation class before your matching text. In most RegEx diatlects, classes are in square brackets, and the caret symbol negates the whole class.
So, in order to match 'ALPHA' with anything *but* and underscore or a hash, you'd have something based on: [^#_]ALPHA.
In reply to Re: Pattern matching when there are exception strings
by pboin
in thread Pattern matching when there are exception strings
by Moron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |