In general you can go for this
\{\{(\w+)\}\}
It captures all the characters inside the double braces (without spaces, if you need space you can use [\w\s]*
inside the braces)
More Related Contents:
- What is a non-capturing group in regular expressions?
- RegEx for matching UK Postcodes
- Negating a backreference in Regular Expressions
- Regex optional group
- Can I use an OR in regex without capturing what’s enclosed?
- Guide on how to use regex in Nginx location block section?
- RegEx for Multi-Words Without Numbers and Any Special Characters
- How can test I regular expressions using multiple RE engines? [closed]
- Regular expression for first and last name
- The recognizing power of “modern” regexes
- Regular expression for exact match of a string
- Regular expression for matching latitude/longitude coordinates?
- How can I “inverse match” with regex?
- Delete all content but keeping matched
- regex for zip-code
- Bash, grep between two lines with specified string
- Regex to match 2 digits, optional decimal, two digits
- Extracting top-level and second-level domain from a URL using regex
- Match Question Mark in mod_rewrite rule regex
- HTML5 input pattern search for quote
- When should I not use regular expressions?
- Replace a word with multiple lines using sed?
- Regular Expression Vs. String Parsing
- .htaccess RewriteRule to path without changing URL
- Can extended regex implementations parse HTML?
- How to get Vim to highlight non-ascii characters?
- Regexp for subdomain
- Regular Expression usage with ls
- Difference between regex quantifiers plus and star
- Finding and removing Non-ASCII characters from an Oracle Varchar2