Regular Expressions 101

Community Patterns

Title (Subtitle)

0

Regular Expression
PCRE2 (PHP >=7.3)

/
([\- \w]+) \(([\- \w]+)\)
/
gm

Description

Parse out a title and subtitle

Submitted by anonymous - 2 years ago