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.
8n8 Agent Development -- 2 Category: Data Analysis, Data Collection, Data Entry, Data Extraction, Data Integration, Data Management, Data Mining, Data Processing, PHP, Web Scraping Budget: $250 - $750 USD
08-Jan-2026 22:57 GMT
System Utilities Troubleshooting Specialist Needed Category: Computer Security, Linux, Performance Tuning, System Admin, System Administration, Technical Support, Troubleshooting, Windows Server Budget: $1500 - $3000 USD
Boost Instagram Followers for Sales Category: Content Marketing, Growth Hacking, Instagram, Instagram Marketing, Internet Marketing, Social Media Management, Social Media Marketing, Twitter Budget: $30 - $250 USD
08-Jan-2026 22:55 GMT
Adjust Nut Thread Model Category: 3D CAD, 3D Design, 3D Drafting, 3D Modelling, 3D Printing, 3D Rendering, CAD / CAM, Solidworks Budget: $10 - $30 USD
08-Jan-2026 22:55 GMT
Cinematic Drone Video Category: Adobe Premiere Pro, After Effects, Cinematography, Drone Photography, Final Cut Pro, Video Editing, Video Production, Video Services Budget: $1500 - $3000 AUD