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.
AI Process & Agile Training Plan Category: Agile Development, AI Chatbot Development, Automation, HTML, JavaScript, PHP, Software Architecture, Training Budget: $15 - $25 USD
06-Feb-2026 22:57 GMT
Lithuanian Roblox Roleplay Game Category: 3D Modelling, Blender, Game Design, Game Development, Game Testing, Lua, Roblox, Scripting Budget: €10 - €100 EUR
Commission-Based Online Sales Marketer Category: Advertising, Digital Marketing, Email Marketing, Facebook Marketing, Instagram Marketing, Internet Marketing, Sales, Social Media Marketing Budget: $10 - $30 USD
06-Feb-2026 22:52 GMT
Elegant Logo for Event Planner Category: Adobe Illustrator, Photoshop, Branding, Creative Design, Graphic Design, Illustration, Logo Design, Vector Design, Visual Design Budget: ₹600 - ₹1500 INR
06-Feb-2026 22:52 GMT
Need editorial link placement into cluster pages Category: Content Creation, Content Development, Content Marketing, Content Strategy, Digital Marketing, Editorial Writing, Link Building, Search Engine Marketing (SEM), SEO, Website Optimization Budget: $1500 - $3000 USD
06-Feb-2026 22:52 GMT
Redactor Diario de Fútbol Español Category: Article Rewriting, Article Writing, Blog Writing, Content Writing, Editing, SEO, Sports Budget: $30 - $250 USD
06-Feb-2026 22:50 GMT
Online Alberta Chemistry 30 Tutoring Category: Chemical Engineering, Chemistry Tutoring, Mathematics, Physics, Research Writing, Teaching / Lecturing, Whiteboard, Zoom Budget: $250 - $750 CAD