in reply to match exclude

This can be done with a look-ahead assertion which allows you to express something like "that is followed by", or "that is not followed by". /redhat-release(?!-note)/ should do what you want.

Replies are listed 'Best First'.
Re^2: match exclude
by emjga1 (Novice) on Mar 17, 2017 at 09:25 UTC
    Eily
    You are indeed a true Monk
    Spot on with your answer , that worked nicly.
    Thanks.