Regular Expressions 101

Community Patterns

h_spring-present-absent

0

Regular Expression
Python

r"
^([A-Za-z ]+\b(?<!PRESENT\b)(?<!ABSENT\b)(?<!NORMAL\b)(?<!POSITIVE\b)(?<!NEGATIVE\b)(?<!TRACE\b)) +(ABSENT|PRESENT|NORMAL|TRACE|POSITIVE|NEGATIVE|\"[A-Z]+)+ *([\(\+\) ]*) *(Absent|Normal|Present|Trace|Positive|Negative)*
"
gm

Description

no description available

Submitted by anonymous - 4 years ago