Regular Expressions 101

Community Patterns

Match between two strings

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<=<name>)(.*)(?=<\/name>)
/
gm

Description

(?<=This is)(.*)(?=sentence)

Submitted by anonymous - a year ago