Regular Expressions 101

Community Patterns

token

1

Regular Expression
PCRE (PHP <7.3)

/
{(?<token>\w*)(:(?<format>.*?))?}
/
g

Description

no description available

Submitted by anonymous - 3 years ago