in reply to reg ex NOT
[^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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: reg ex NOT
by brian_d_foy (Abbot) on Jun 16, 2006 at 00:18 UTC | |
by ikegami (Patriarch) on Jun 16, 2006 at 01:33 UTC |