/^(?!abc)\w+ something/
But why are you afraid of look-behind assertions. Asking for a solution to X without using Y, if Y is a reasonable way of solving X should have an explaination of why Y shouldn't be used.
Abigail
In reply to Re: stupid question about regexp - not matching a word
by Abigail-II
in thread stupid question about regexp - not matching a word
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |