Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\s\/(?<serviceName>[^\/]*)
/
gm

Description

Capture Data between 2 slashes

Submitted by Sarnath Jegadeesan - 2 years ago