Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-01-09 13:00
Flavor·PCRE2 (PHP)

/
Birthday\s*(.*)\sAge\s(.*)\s*Gender\s*(.*)
/
g
Open regex in editor

Description

Picking DOB from middle if age is in same line 2nd way

Submitted by anonymous