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.
Social Media Content Creator (Indonesia) Category: Content Creation, Content Writing, Copywriting, Instagram, Social Media Marketing, TikTok, Unboxing Videos, Video Editing, Video Production, Video Services Budget: $30 - $250 SGD
01-Apr-2026 04:02 GMT
Hair Business WordPress Site Category: HTML, Mobile App Development, PHP, SEO, Web Design, Website Optimization, WordPress Budget: $10 - $120 AUD
01-Apr-2026 04:01 GMT
Création d'images IA pour e-commerce -- 4 Category: AI Art Creation, AI Chatbot Development, AI Development, AI Image Editing, Article Writing, Graphic Design, Logo Design, Photoshop Budget: $2 - $8 USD
Dynamic 60-90 sec Video Editing Category: Adobe Premiere Pro, After Effects, DaVinci Resolve, Video Editing, Video Post Editing, Video Processing, Video Services Budget: ₹12500 - ₹37500 INR