Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<=\/running\/)(?<processtype>pre-process|process)\/(?<tracker>[1|2])
/
gm

Description

Matches, in a named group of 'tracker', digits 1 or 2 in a Url

Submitted by anonymous - 3 years ago