Regular Expressions 101

Community Patterns

lookbehind + lookahead

1

Regular Expression
PCRE (PHP <7.3)

/
(?P<changelog>(?=What)(What's new in (?P<version>[^\n\s\(]+).+?)(?=What|$))
/
sg

Description

no description available

Submitted by anonymous - 8 years ago