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.
Power Platform Certification Backend Build Category: Backend Development, Business Analysis, Data Integration, Data Modeling, Database Design, Database Management, Dynamic 365, PowerApps, Project Management Budget: $25 - $50 CAD
24-Jan-2026 22:50 GMT
Social Media On-Street Promoter Category: Digital Marketing, Facebook Marketing, Fashion Modeling, Lead Generation, Sales Promotion, Social Media Management, Social Media Marketing, Twitter Budget: €750 - €1500 EUR
24-Jan-2026 22:47 GMT
MBA Assignment Writing Support Category: Academic Writing, Business Writing, Finance, Management, Research, Research Writing Budget: $30 - $250 USD