Greetings dear {{name}}, hope the {{service}} is to your liking etc etc {{.....}} The object consists of 2 curlys on either side with text in the middle as shown.
What we need to do is if anyone of the curlys is deleted for an object (using backspace, delete etc),then the whole object i.e. the associated curlys and the text, the whole thing : {{name}} will be deleted. i.e the desired output will an emoty string.
We have looked at several regex constructs such as :
s.replace(/\s?\{+[^}]+\}+/g, ''); But they do not do what we need. Any assistance would be greatly appreciated.
Migrate WordPress Store to Shopify Category: HTML, SEO, Shopify, Shopify Development, Shopify Templates, Web Design, Web Development, WordPress Budget: ₹12500 - ₹37500 INR
Social Media Advertising Specialist for EV Startup Category: Advertising, Digital Marketing, Facebook Ads, Facebook Marketing, Instagram Marketing, Internet Marketing, Lead Generation, Social Media Marketing Budget: ₹1500 - ₹12500 INR
24-Feb-2026 16:55 GMT
US Niche Guest Posting Backlinks Category: Article Writing, Blog Writing, Content Creation, Content Marketing, Digital Marketing, Internet Marketing, Link Building, SEO Budget: ₹12500 - ₹37500 INR