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.
Healthcare & Nutrition Blog Writing - 20/02/2026 00:48 EST Category: Article Writing, Blog Writing, Content Writing, Diet, Ghostwriting, Health Care Management, Life Coaching, Nutrition, SEO Writing, Video Editing Budget: ₹600 - ₹1500 INR
24-Feb-2026 05:04 GMT
Nature Documentary Video Editor Category: Adobe Premiere Pro, After Effects, Content Creation, Data Visualization, Film Production, Post Production, Video Editing, Video Production, Video Services Budget: ₹1500 - ₹12500 INR
24-Feb-2026 05:04 GMT
Elegant Wedding Animation - 22/02/2026 22:42 EST Category: 2D Animation, 3D Animation, Adobe Animate, Adobe Creative Cloud, After Effects, Animation, Graphic Design, Video Production Budget: min ₹2500 INR
AI Product Showcase Video for Instagram Category: 3D Animation, Adobe Premiere Pro, After Effects, AI Animation, AI Art Creation, Animation, Video Editing, Video Services Budget: ₹12500 - ₹37500 INR
24-Feb-2026 04:56 GMT
Professional Sales Landing Page Design Category: Brochure Design, Content Writing, Facebook Marketing, Graphic Design, Sales, Web Design, Web Development Budget: ₹600 - ₹1500 INR
24-Feb-2026 04:53 GMT
WooCommerce E-commerce Store Design Category: ECommerce, Shopping Cart Integration, UI / User Interface, Web Design, Web Development, WooCommerce, WordPress Budget: ₹750 - ₹1250 INR