Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?xm) #POLICY\s*\#:\s*[0-9]{6} # for policy number with exact 6 digit match #POLICY\s*\#:\s*.* # for policy number with mix of digit and characters POLICY\ \#:\s[0-9]{1,6}
/
gm

Description

no description available

Submitted by anonymous - 5 years ago