I guess I'm getting really weak in logic.
I need to write a regular expression which matches everything except www. It should match wwwd, abcd and everything else, just not www. (Oh God, please, it shouldn't be very easy).
I'm using Ruby language's implementation of regular expression.
UPDATE: I need to use regular expression and not just text != 'www' because it is the way API is designed. It expects a pattern as argument and not the result.