Regex {{[{]?(.*?)[}]?}} Captures the value of the variable name in a handlebars template {{> components/templates/email/includes/email-tr-spacer }} {{# deliveryAddress }} {{^ deliveryAddress }} {{{ deliveryAddressReadable }}} {{/ deliveryAddress }} {{/ contactNumber }}