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.
AI Real Estate App Marketing Launch Category: Content Creation, Digital Marketing, Email Marketing, Growth Hacking, Influencer Marketing, Lead Generation, SEO, Social Media Management, Social Media Marketing, Viral Marketing Budget: $250 - $750 USD
Google Sheets KPI Dashboard Development Category: Data Analysis, Data Management, Data Visualization, Excel, Google Ads, Google Adwords, Google Analytics, Google Sheets Budget: ₹1250 - ₹2500 INR
20-Mar-2026 04:56 GMT
Service Robot VPS Deployment Category: C++, Programming, Database Administration, Linux, Python, Robotics, Software Architecture, VPS, Web Development Budget: $10 - $50 USD