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.
Need a YouTube video Editor Category: After Effects, Animation, Cartography & Maps, Geographical Information System (GIS), Motion Graphics, Video Ads, Video Editing, Video Production, Video Services, YouTube Budget: $30 - $250 USD
Video Animasi Pendek untuk TikTok -- 2 Category: 2D Animation, After Effects, Animation, Blender, Motion Graphics, Video Editing, Video Production, Video Services Budget: min $50 USD
22-Jan-2026 22:54 GMT
Multi-Platform SEO & Maintenance Category: Data Analysis, Digital Marketing, Internet Marketing, Keyword Research, Link Building, Search Engine Marketing (SEM), SEO, SEO Auditing Budget: $250 - $750 USD
22-Jan-2026 22:53 GMT
AI Promotional Video Creator Category: After Effects, AI (Artificial Intelligence) HW / SW, AI Content Creation, AI Design, Animation, Video Editing, Video Production Budget: ₹1500 - ₹12500 INR
22-Jan-2026 22:48 GMT
Loft Conversion to 2-Bed Flat Category: AutoCAD, Building Engineering, CAD / CAM, Construction, Electrical Engineering, Home Design, Plumbing Budget: £20000 - £50000 GBP