I found a numerous questions regard to "matching all except a single word in string". However, none of them do not work in case of phrase (two or more words combined). Suppose I have a string as in example (RegEx). I want to match all possible combination of a single word + 10-digits number except of certain combination/phrase "nip + 10-digits number" (+ means a simple space). In my example I use \bnip\s*\d{10}\b to match "nip + 10-digits number" but I want to match all extept "nip + 10-digits number". hello should not be matched too because of lack of 10-digits number on the right side. Would be appreciated for any help.
Example:
hello
alpha 1111111111 # should be matched
allla 2322322321 # should be matched
nip 5260305006
pin 5260305006 # should be matched
nipp 5260305006 # should be matched