Hello i have another regex problem..
i have following text
Liquor
Liquor-Aussehen klar entf. entf. entf. entf. entf.
+
Leukozyten im Liquor < 5 /µl 6 entf. entf. entf. entf. entf.
Erythrozyten im Liquor 0 /µl 1 entf. entf. entf. entf. entf.
Mononukleäre Zellen i.L. - 100 % 0 entf. entf. entf. entf. entf.
Polymorphkernige Zell i. 0 % + 100 entf. entf. entf. entf. entf.
+ + - -
Glucose im Liquor 40 - 70 mg/dl 71 80 66 26 26 66
Lactat im Liquor < 2.1 mmol/l 1.5 1.6 1.7 ++ 5.1 ++ 5.1 1.7
Gesamt-Eiweiß im Liquor mg/dl entf. entf. entf. entf. entf. entf.
IgA im Liquor < 5 mg/l 3.20 4.01 ++ 17.00 + 10.00 + 10.00 ++ 17.00
IgG im Liquor < 34 mg/l + 53.00 + 57.60 + 97.00 + 65.00 + 65.00 + 97.00
IgM im Liquor < 1.34 mg/l + 1.40 + 1.82 ++ 8.00 ++ 4.50 ++ 4.50 ++ 8.00
Albumin im Liquor < 350 mg/l + 460.0 + 441.0 + 980.0 + 720.0 + 720.0 + 980.0
the first Liquor is the head of the document.. And i need to find this one. But if i look just for "Liquor" the regex will match the ones in Glucose im Liquor f.e. as well..
i build following regex because i think this negative lookahead will do the thing but
Liquor(?!-\s?[a-zA-Z<>+-0-9]?)
still matches the other ones.. How can i exclude the Liquors that doesnt stand alone. Liquors that can be followed by a number, letter or lower than or higher than signs shouldn be matched..
Is there any Solution?