title: Match all except certain phrase
body: <p>I found a numerous questions regard to &quot;matching all except a single word in string&quot;. However, none of them do not work in case of phrase (two or more words combined). Suppose I have a string as in example (<a href="https://regex101.com/r/cO8lqs/24457" rel="nofollow noreferrer">RegEx</a>). I want to match all possible combination of a single word + 10-digits number except of certain combination/phrase &quot;nip + 10-digits number&quot; (+ means a simple space). In my example I use <code>\bnip\s*\d{10}\b</code> to match &quot;nip + 10-digits number&quot; but I want to match all extept &quot;nip + 10-digits number&quot;. <code>hello</code> should not be matched too because of lack of 10-digits number on the right side. Would be appreciated for any help.<br />
  <strong>Example:</strong></p>
  <pre><code>   hello 
     alpha 1111111111 # should be matched
     allla 2322322321 # should be matched
     nip 5260305006 
     pin 5260305006 # should be matched
     nipp 5260305006 # should be matched
  </code></pre>