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.
WordPress Migration to Hostinger Hosting Category: Database Management, HTML, MySQL, PHP, Web Design, Web Development, Web Hosting, WordPress Budget: €30 - €250 EUR
12-Feb-2026 05:03 GMT
Remote VBS Batch Number Prefixer Category: AutoHotkey, Automation, Scripting, Shell Script, Software Architecture, System Administration, VBScript, Windows Desktop Budget: $10 - $30 USD
12-Feb-2026 05:03 GMT
YouTube Motion Graphics Video Editor Category: Adobe Premiere Pro, After Effects, Animation, Color Grading, Video Editing, Video Post Editing, Video Production, Video Services Budget: ₹600 - ₹1500 INR
12-Feb-2026 05:02 GMT
Automation-First Sales System Lead Handling MVP Category: API Development, Automation, CI / CD, Database Management, JavaScript, Node.js, NoSQL Couch & Mongo, PostgreSQL, Software Development, Software Testing Budget: ₹250000 - ₹500000 INR
12-Feb-2026 05:01 GMT
Kit de Autoestudo para Viagens Category: Content Creation, Educational Research, Graphic Design, Instructional Design, Language Tutoring, Logo Design, Photoshop, Video Services Budget: $250 - $750 USD