Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?:{{)((?:[a-z]+)(?:\.(?:[a-z]+))*)(?:}})
/

Description

Easily match the {{}} string for web developper MVC.

Submitted by Yannick Elusue - 10 years ago