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.
Instagram Brand Video Content Boost Category: Branding, Content Creation, Influencer Marketing, Instagram Marketing, Social Media Management, Social Media Marketing, Video Editing, Video Production, Video Services, Videography Budget: €250 - €750 EUR
27-Jan-2026 10:55 GMT
Figma Specialist — Web App Redesign Category: Figma, Graphic Design, Prototyping, User Interface / IA, UX / User Experience, Visual Design, Web Design Budget: $30 - $250 CAD
Meta API Integration Expert Category: .NET, API Integration, Facebook API, Instagram API, MySQL, Node.js, OAuth, REST API, Server To Server Facebook API Integration, Social Media Management Budget: $750 - $1500 USD
Door Cylinder Page Redesign Category: Adobe XD, Figma, Graphic Design, HTML, UI / User Interface, User Interface / IA, Web Design, WooCommerce, WordPress Budget: €250 - €750 EUR
27-Jan-2026 10:52 GMT
Original Articles on Tissue-Selective Bone Resection Category: Data Analysis, Medical, Medical Research, Medical Writing, Research, Research Writing, Scientific Research, Scientific Writing, Statistical Analysis, Technical Writing Budget: €3000 - €5000 EUR