[^t] matches any character but t. It can be modified using ?, + and *, as usual.
You might also be interested in (?:(?!regexp).)*, which matches a sequence of characters that does not contain anything that matches a specified regexp.
In reply to Re: reg ex NOT
by ikegami
in thread reg ex NOT
by jarthda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |