Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(?:(\d{96})(?=(?:[^~]+).*(?:~(\w)=(\1))))|~[^\n]+
/
gm

Description

Part 2 of my post.

Submitted by Dave Cummins - a month ago