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.
E-Commerce Mobile App Build Category: Android, App Design, App Development, IOS Development, IPhone, Mobile App Development, Payment Gateway Integration, PHP, UI / User Interface, UX / User Experience Budget: $5000 - $10000 USD
29-Jan-2026 05:00 GMT
Zoho Page Section Styling Category: CSS, HTML, PHP, User Interface / IA, Web Design, Web Development, Web Page Writer, Zoho Budget: $10 - $30 USD
29-Jan-2026 05:00 GMT
Residential Interior Lead Generation Category: Content Marketing, Email Marketing, Google Ads, Internet Marketing, Marketing, SEO Budget: ₹12500 - ₹37500 INR
29-Jan-2026 05:00 GMT
AI Prompt Engineer Category: AI Agents, AI Chatbot Development, AI Content Creation, AI Design, AI Development, AI Model Development, AI Research, AI Text To Speech, AI Text To Text, AI Writing Budget: ₹1500 - ₹12500 INR
29-Jan-2026 05:00 GMT
Fijian Income Tax Guidance for Expats Category: Accounting, Expatriate Tax, Financial Analysis, Financial Consulting, Tax, Tax Compliance, Tax Law Budget: $250 - $750 AUD