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.
Inspirational Company Update Video Category: Audio Production, Audio Services, Motion Graphics, Video Editing, Video Post Editing, Video Production, Video Services, Voice Over Budget: ₹1500 - ₹12500 INR
19-Jan-2026 17:04 GMT
Fix MS365 Sender Block Error Category: Computer Security, DNS, Microsoft 365, Microsoft Exchange, Network Security, System Administration, Technical Support, Web Security Budget: $10 - $30 USD
19-Jan-2026 17:03 GMT
Queensland SME Leads Spreadsheet Needed Category: Data Analysis, Data Collection, Data Entry, Data Management, Excel, Lead Generation, Research, Web Search Budget: $30 - $250 AUD