Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

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 - 5 years ago