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.
Complete & Finalize WordPress eCommerce Website Category: ECommerce, Frontend Development, Full Stack Development, JavaScript, PHP, Python, Web Development, Web Design, WordPress Budget: €50 - €500 EUR
13-Feb-2026 17:00 GMT
AI Life Path App Development Category: AI Chatbot Development, AI Development, AI Model Development, Graphic Design, IPhone, Mobile App Development, User Interface / IA, UX / User Experience Budget: $1000 - $40000 USD
Google Ads Lead Generation Campaign Category: Digital Marketing, Google Ads, Google Adwords, Internet Marketing, Keyword Research, Lead Generation, Search Engine Marketing (SEM), SEO Budget: ₹1500 - ₹12500 INR
13-Feb-2026 16:55 GMT
Card-Linked POS Loyalty Platform Category: Android, API Development, Backend Development, Database Management, JavaScript, PHP, Software Architecture, Web Development Budget: £250 - £750 GBP
13-Feb-2026 16:55 GMT
Closed-Community Collaboration App Development -- 4 Category: Android, API, Chatbot, Flutter, Full Stack Development, German Translator, IPhone, Mobile App Development, PHP, React Native Budget: $500 - $1400 USD
13-Feb-2026 16:54 GMT
Inventory Trend Analysis in Python Category: Data Analysis, Data Processing, Data Visualization, Pandas, Python, SQL, Statistical Analysis, Statistics Budget: $100 - $300 USD