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.
Modern Tree of Life Logo Redesign Category: Branding, Creative Design, Design Optimization, Digital Art, Graphic Design, Illustration, Logo Design, Photoshop, Visual Design Budget: $10 - $30 USD
On-Page SEO for Traffic Growth Category: Analytics, Internet Marketing, Keyword Research, Link Building, Page Speed Optimization, SEO, Website Audit Budget: $30 - $250 NZD
01-Mar-2026 23:01 GMT
Minimum Sermaye, Maksimum Kazanç Planı Category: Business Analysis, Business Consulting, Business Development, Business Strategy, Data Analysis, Financial Analysis, Financial Planning, Market Research, Project Management, Risk Management Budget: $10 - $30 USD
01-Mar-2026 23:00 GMT
Traditional Wedding Ceremony Videography Category: A / V Design, A / V Editing, Cinematography, Film Production, Video Editing, Video Production, Video Services, Videography Budget: $30 - $250 USD
Advance Steel 3D Model Conversion Category: 3D CAD, 3D Design, 3D Drafting, 3D Modelling, 3D Rendering, Architectural Engineering, Architectural Rendering, AutoCAD, CAD / CAM Budget: €30 - €250 EUR