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.
Social Media Entertainment Content Category: Photoshop, Adobe Premiere Pro, Canva, CapCut, Content Creation, Graphic Design, Social Media Marketing, Video Editing Budget: $15 - $25 USD
27-Nov-2025 05:04 GMT
No-Code Event/Gift Bubble Platform Development Category: AI Development, Android, API Integration, Azure OpenAI, Bubble Developer, Mobile App Development, PHP, Software Architecture, Twilio Budget: ₹600 - ₹1500 INR
Commissioned Web Dev Sales Agents Category: Business Development, CRM, HTML, Lead Generation, PHP, Sales, Social Media Marketing, Web Design Budget: $2 - $8 USD
27-Nov-2025 04:53 GMT
Video Refresh for 2025 Category: Adobe Premiere Pro, After Effects, Motion Graphics, Video Editing, Video Post Editing, Video Processing, Video Production, Video Services Budget: $10 - $30 USD
Fintech Mobile App Backend Development Category: API Development, Backend Development, Database Design, FastAPI, Microservices, MongoDB, MySQL, NLP, Node.js, Redis Budget: ₹12500 - ₹37500 INR
27-Nov-2025 04:53 GMT
AI-Enhanced Features for Business Platform Category: AI Agents, AI Chatbot Development, AI Development, AI Model Development, Graphic Design, PHP, Software Architecture, Web Design Budget: $500 - $900 USD