Regular Expressions 101

Community Patterns

ES6 Template Literals

1

Regular Expression
ECMAScript (JavaScript)

/
(\$\{[\s]*.*?[\s]*\})
/

Description

Matches the template literals in a given string

Submitted by Ozzy - 8 years ago