Regular Expressions 101

Community Patterns

Governing Law matcher

0

Regular Expression
PCRE2 (PHP >=7.3)

/
((?:[A-Z]\w+).+?(?i)(?:agreement|amendment|addendum|contract|license|rights(?: and obligations)?|laws?|terms)(?!\.).+?(?:governe?d?|controll?e?d?|interprete?d?|construed?|appl(?:ied|y)|determined?).+?(?:laws?|provisions?|matters).*?\.)
/
gm

Description

Nifty RegEx to match commonly-worded Govering Law clauses in agreements and contracts

Submitted by anonymous - 2 years ago