Regular Expressions 101

Community Patterns

Match 2 groups of text with anything on the right on each group

0

Regular Expression
PCRE (PHP <7.3)

/
(Step.*)(Description.*)
/
g

Description

You want to match 2 groups of text, with any text following each group

Submitted by anonymous - 5 years ago