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.
Chennai Podcast Videographer & Editor Category: After Effects, Audio Editing, Audio Services, Lighting Design, Podcasting, Video Editing, Video Production, Videography Budget: ₹1500 - ₹12500 INR
28-Jan-2026 11:02 GMT
Photo & Video Editing Masterclass Category: Photoshop, Adobe Premiere Pro, After Effects, Color Grading, Photo Editing, Video Editing, Video Production Budget: ₹750 - ₹1250 INR
Shopify Store for Care Products Category: CSS, Digital Marketing, Dropshipping, ECommerce, Graphic Design, Logo Design, Shopify, Web Design, Web Development Budget: $250 - $750 USD
28-Jan-2026 11:01 GMT
LinkedIn Lead-Gen Manager Needed Category: Analytics, B2B Marketing, Content Strategy, Digital Marketing, Internet Marketing, Lead Generation, Linkedin, Marketing, Social Media Marketing Budget: ₹1500 - ₹12500 INR
28-Jan-2026 11:00 GMT
Pharma Lead-Gen Facebook Campaign Category: Digital Marketing, Facebook Ads, Facebook Marketing, Internet Marketing, Lead Generation, Leads, Sales, Telemarketing Budget: ₹1500 - ₹12500 INR
28-Jan-2026 11:00 GMT
English Dub for 3D Film -- 2 Category: 3D Animation, Audio Editing, Audio Production, Audio Services, Sound Design, Voice Acting, Voice Over, Voice Talent Budget: $20000 - $50000 USD