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.
Nature-Inspired WordPress Blog Category: HTML, Photography, PHP, Web Design, Web Development, WordPress, WordPress Design Budget: $250 - $750 USD
20-Jan-2026 11:03 GMT
Basic 3D Home Virtual Tour Category: 3D Animation, 3D Design, 3D Modelling, 3D Rendering, 3D Visualization, 3ds Max, Architectural Visualization, Blender, Lumion, SketchUp Budget: ₹600 - ₹1500 INR
20-Jan-2026 11:03 GMT
Digital board game content creation Category: Content Creation, Marketing, Social Media Marketing, Video Editing, Video Production Budget: $30 - $250 USD
Database/CRM with connectivity to Sage 50 Category: Android, API Development, Data Integration, Database Development, HTML, IOS Development, Mobile App Development, PHP, Web Application, Web Development Budget: £250 - £750 GBP
20-Jan-2026 10:59 GMT
Desain Bengkel Bubut Ergonomis -- 2 Category: 3D Design, 3D Modelling, 3D Rendering, AutoCAD, Data Entry, Data Processing, Excel, SketchUp Budget: min $50 USD
20-Jan-2026 10:57 GMT
Mental Health Blog Articles Category: Article Rewriting, Article Writing, Blog Writing, Content Writing, Copywriting, Ghostwriting, Research Writing, SEO Writing Budget: ₹400 - ₹750 INR