Regular Expressions 101

Community Patterns

1...56789...297

Before a word

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(.*)((?<=Wood ))
/

Description

Gets strings before or after a word

Submitted by SuperMAC - 2 years ago