if ( /exception(?!\s*handler)/i ) { [download]
which means: exception, not followed by \s*handler.
In reply to Re: regex help needed by Eliya in thread regex help needed by Anonymous Monk