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.
Traditional Kitchen & Furniture Design Category: 3D Design, 3D Modelling, 3D Rendering, Building Design, CAD / CAM, Furniture Design, Graphic Design, Interior Design Budget: £250 - £750 GBP
29-Mar-2026 15:53 GMT
Manual Excel Data Entry -- 3 Category: Data Analysis, Data Cleansing, Data Entry, Data Extraction, Data Management, Data Processing, Excel, Visual Basic Budget: ₹100 - ₹400 INR
29-Mar-2026 15:53 GMT
Comprehensive Internet Research Specialist Category: Certified Ethical Hacking, Data Protection, Growth Hacking, Internet Research, Penetration Testing Budget: $30 - $250 USD
29-Mar-2026 15:53 GMT
Podcast Studio Setup Category: Audio Editing, Audio Engineering, Audio Production, Audio Services, Music, Podcasting, Sound Design, Video Production Budget: $30 - $250 USD