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.
Recreate Lost Wix Template Category: CSS, HTML, PSD To HTML, Web Design, Web Development, Wix Budget: $15 - $25 USD
15-Feb-2026 16:58 GMT
Alarm Robot for iPhone Category: Automation, Bluetooth Low Energy (BLE), Embedded Systems, IOS Development, IPhone, Mobile App Development, Objective C, Robotics, User Experience Research, User Interface / IA Budget: $10000 - $20000 USD
Website Perusahaan dengan Portofolio Category: Content Management System (CMS), HTML, PHP, SEO, Web Design, Web Development, WordPress Budget: $750 - $1500 USD
15-Feb-2026 16:56 GMT
Bulk Text File Download & Renaming Category: Data Entry, Data Processing, Microsoft Word, Project Management, Time Management Budget: $10 - $30 USD