This is a follow-up of: javascript regex - look behind alternative?
In my situation, I'm looking to only match the second word when there is no specific word that preceeds the term. As with the prior issue I need a solution that doesn't utilize the look behind technique.
I'm looking to exclude mentions such as the following:
patient has a history of pulmonary edema
Using the expression:
((?!pulmonary ).{10})\bedema
But given the following sentence:
Continuing dyspnea and lower-extremity edema
I would like the match to only return edema
instead of extremity edema
.