Regular Expressions 101

Community Patterns

Match all {{}} string

0

Regular Expression
PCRE (PHP <7.3)

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

Description

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

Submitted by Yannick Elusue - 9 years ago