in reply to Regex problem II

Your update obfuscated rather than helped. Now there's no "Mortality from pneumonia and (ICD10 J12-J18)" left in the test line.

Suggest that you use <strike> ... </strike> around what you want delete from your statement of the problem, instead of actually deleting it.