Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\w+(?=[[:blank:]])
/
gm

Description

Used this in the DETECT pilot study to pull apart first names that had two parts (e.g., mary jo).

Submitted by anonymous - 6 years ago