Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?<=<FilesMatch "test">)((.|\n)*?)(?=<\/FilesMatch>)
/

Description

How to include the matched cases in the result?

Submitted by anonymous - 10 years ago