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.
Hotel Brand Awareness Campaign Category: Content Strategy, Content Writing, Digital Marketing, Email Marketing, Facebook Marketing, Marketing, Social Media Management, Social Media Marketing Budget: $10 - $30 USD
23-Feb-2026 17:04 GMT
Dify chatbot development Category: AI Chatbot Development, AI Development, Automation Codeless Program, Natural Language Processing Budget: $1500 - $3000 USD
23-Feb-2026 17:04 GMT
New Junior Level / Python( Flask/Django) Work Category: API Development, Backend Development, Django, Flask, JavaScript, Python, Software Architecture, Web Development Budget: $2 - $8 USD
23-Feb-2026 17:03 GMT
Umbraco Website Edit and SEO Optimization Category: Content Management System (CMS), Internet Marketing, Link Building, SEO, Umbraco, Web Development, Web Design, Website Optimization Budget: $250 - $750 USD
23-Feb-2026 17:03 GMT
Instagram Copywriting: Posts, Stories, Reelshi Category: Content Creation, Content Writing, Copywriting, Creative Writing, Digital Marketing, Ghostwriting, Instagram Marketing, Social Media Copy, Social Media Management, Social Media Marketing Budget: ₹750 - ₹1250 INR
CRM Data Entry Assistant Category: CRM, Data Analysis, Data Cleansing, Data Entry, Data Management, Data Processing, Excel, Salesforce.com Budget: $30 - $250 USD