[Solved] Regex expression symbol without space
I would use: ~\{\{([^}]+?)\}\}~ and accessing array depends on your language! [EDIT] add explanations ~: delimiter \{\{, \}\}~: match characters literally. Should be escaped. [^}]: match anything inside {{}} until a } +: repeat pattern multiple times (for multiple characters) ?: is for ‘lazy’ to match as few times as possible. (): is to capture … Read more