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.
Playful Three Brand Website Build Category: CSS, Graphic Design, HTML, JavaScript, PHP, Web Design, Web Development Budget: $30 - $250 AUD
28-Nov-2025 05:03 GMT
Daily Email & Travel Organizer Category: Admin Support, Business Writing, Customer Service, Medical, Medical Billing And Coding, Medical Devices Sales, Medical Research, Medical Writing, Time Management, Virtual Assistant Budget: ₹12500 - ₹37500 INR
Purchase Data Update Assistant Category: Data Analysis, Data Cleansing, Data Entry, Data Processing, Excel, PDF, Visual Basic, Word Budget: ₹1500 - ₹12500 INR