Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Java 8

"
((?<A>\s(greater|less|earlier)\sth[a|e]n)((?<B>\sor equal)[s]?)?(\sto)?\s)(?<V>[^\s]+)?
"
gm

Description

This regexp helps you to parse text-based OVAL expressions. See the test samples

Submitted by Alexander Dubok - 3 years ago