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.
Cinematic Wedding Video Editing Category: Adobe Premiere Pro, After Effects, Audio Editing, Creative Design, Final Cut Pro, Video Editing, Video Post Editing, Video Processing, Video Production, Video Services Budget: £20 - £250 GBP
Urgent Data Center Site Test-fit Design Category: AutoCAD, Building Architecture, Building Design, Civil Engineering, Data Analysis, Data Visualization, Excel, Geospatial Budget: $15 - $25 USD
Church Sermon Series Package Category: Animation, Content Creation, Content Marketing, Digital Marketing, Graphic Design, Social Media Marketing, Video Editing, Video Production, Video Services, Visual Arts Budget: $3000 - $5000 USD