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.
French-English Literary Translation Category: Creative Writing, Editing, English (US) Translator, English Translation, Proofreading, Translation, Writing Budget: $25 - $50 USD
06-Feb-2026 17:01 GMT
Real Estate Marketing Specialist Category: Advertising, Brand Management, Brochure Design, Digital Marketing, Email Marketing, Facebook Marketing, Graphic Design, Marketing, Print Design, Real Estate Budget: $15 - $25 USD
06-Feb-2026 17:00 GMT
Social Media Graphics Design Category: Adobe Illustrator, Photoshop, Branding, Content Creation, Graphic Design, Illustration, Social Media Management, Social Media Marketing Budget: $10 - $30 USD
06-Feb-2026 17:00 GMT
3D Print Object from Photos Category: 3D CAD, 3D Design, 3D Drafting, 3D Graphic Design, 3D Illustration, 3D Model Maker, 3D Modelling, 3D Printing, 3D Rendering, 3D Visualization Budget: $250 - $750 USD
06-Feb-2026 16:59 GMT
Need Photoshop Designer Category: Graphic Design, Photoshop, Web Design Budget: ₹600 - ₹2000 INR