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.
Multi-Vendor Shopify Marketplace Development Category: ECommerce, Shopify, Shopify Development, Shopify Templates, Web Application, Web Design, Web Development Budget: ₹12500 - ₹37500 INR
07-Dec-2025 11:00 GMT
On-Page SEO Enhancement Category: Content Strategy, Content Writing, Digital Marketing, HTML, Internet Marketing, Keyword Research, Link Building, SEO, Website Optimization, WordPress Budget: $30 - $100 USD
07-Dec-2025 10:59 GMT
Instant Backlink Indexing Tool Category: API, Desktop Application, Google Webmaster Tools, JavaScript, Node.js, Python, Web API, Web Crawling, Web Development, Web Search Budget: ₹12500 - ₹37500 INR
07-Dec-2025 10:58 GMT
Beginner-Friendly Email Marketing Campaign Category: A / B Testing, Analytics, Content Writing, Copywriting, Digital Marketing, Email Marketing, Mailchimp, Marketing Strategy Budget: $15 - $25 USD