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.
Social Media Marketing Specialist Needed Category: Adobe Illustrator, Banner Design, Internet Marketing, Marketing, SEO, SEO Auditing, Social Media Management, Social Media Marketing, Social Networking Budget: €1500 - €3000 EUR
29-Jan-2026 17:04 GMT
Video Editor for Financial Content and Podcasts Category: Adobe Premiere Pro, Audio Editing, Color Grading, DaVinci Resolve, Editing, Final Cut Pro, Motion Graphics, Video Editing, Video Production, Video Services Budget: ₹400 - ₹750 INR
Record and Edit Seminar Category: Audio Services, Video Conferencing, Video Editing, Video Post Editing, Video Production, Video Services, Video Streaming, Video Upload Budget: $30 - $250 USD