Regular Expressions 101

i18n extract

Open Workspace
  • PCRE2 (PHP)
  • Match
-1

Regular Expression

/
__\((.*?)\)|{+(.*?)}+
/
gmi

Description

extract strings between {…} or __(…)

Submitted by ced404