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.
Gießen Verification Field Task Category: Customer Service, Data Collection, Data Entry, Field Sales, Geolocation, PDF, Photo Editing, Photography, Photoshop, PHP Budget: $30 - $40 USD
01-Dec-2025 23:00 GMT
Medir conversiones Google Ads & WhatsApp Category: A / B Testing, Analytics, API, Google Ads, Google Adwords, Google Analytics, JavaScript, PHP Budget: $30 - $250 USD
Short videos Category: A / V Editing, After Effects, Video Ads, Video Editing, Video Post Editing, Video Processing, Video Production, Video Services, Video Streaming, Video Tours Budget: $30 - $250 USD