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.
B2B Social Media Interview Prep - Case Prep and Mock Interview Category: B2B Marketing, Competitor Analysis, Content Strategy, Digital Marketing, Linkedin, Market Research, Marketing, Marketing Strategy, Research Writing, Social Media Marketing Budget: $25 - $50 USD
19-Nov-2025 23:00 GMT
Remote Architectural CAD Technician Required Category: 2D Drafting, Architectural Engineering, Architecture, AutoCAD, Building Architecture, Building Regulations, CAD / CAM, Home Design Budget: £20 - £250 GBP
Dynamic Award Intro Animation Category: 3D Animation, After Effects, Animation, Graphic Design, Motion Design, Video Production, Video Services, Visual Effects Budget: ₹600 - ₹1500 INR