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.
Physical Goods eCommerce Build Category: ECommerce, HTML, Magento, PHP, Shopify, Web Development, Web Design, WooCommerce Budget: ₹600 - ₹1500 INR
27-Jan-2026 05:04 GMT
Energetic YouTube Vlog Edit - 26/01/2026 23:53 EST Category: Adobe Premiere Pro, After Effects, Audio Services, DaVinci Resolve, Final Cut Pro, Video Editing, Video Post Editing, Video Production Budget: ₹12500 - ₹37500 INR
27-Jan-2026 05:04 GMT
Création articles blog santé Category: Article Rewriting, Article Writing, Blog, Blog Writing, Content Writing, French Translator, Research, SEO Budget: €12 - €18 EUR
China Research Peptide Sourcing Category: Alibaba, International Shipping, Manufacturing, Market Research, Research, Simplified Chinese Translator, Sourcing, Technical Documentation, Traditional Chinese (Hong Kong), Translation Budget: $30 - $250 USD