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.
Research project photography Category: Graphic Design, Photo Editing, Photography, Shopping, Web Design, Website Management Budget: $30 - $250 AUD
05-Feb-2026 04:53 GMT
Dynamic Social Media Video Content Category: Adobe Premiere Pro, After Effects, Final Cut Pro, Motion Graphics, Social Media Marketing, Video Editing, Video Production, Video Services Budget: $25 - $50 AUD
05-Feb-2026 04:52 GMT
Entri Data Pelanggan Database Category: Data Analysis, Data Cleansing, Data Entry, Data Management, Data Processing, Database Management, Excel, Microsoft Access Budget: $250 - $750 USD
05-Feb-2026 04:50 GMT
Design Compact Saltwater Fishing Boat Category: 3D CAD, 3D Modelling, AutoCAD, CAD / CAM, Construction Engineering, Engineering Drawing, Marine Engineering, Solidworks Budget: $750 - $1500 AUD
Bay Area Corporate Event Videographer Category: Audio Engineering, Audio Production, Audio Services, Cinematography, Video Conferencing, Video Editing, Video Hardware, Video Production Budget: $25 - $50 USD