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.
Business Plan for Cleaning Service Category: Business Analysis, Business Consulting, Business Development, Business Plan Writing, Business Plans, Business Strategy, Financial Research, Market Research Budget: $1500 - $3000 AUD
27-Mar-2026 05:03 GMT
Cinematic YouTube Shorts Editor Category: After Effects, Animation, Color Grading, Motion Graphics, Post Production, Video Editing, Video Services, YouTube Budget: ₹600 - ₹601 INR
Modern Residential Interior Design -- 2 Category: 3D Modelling, 3D Rendering, 3D Visualization, Architecture, Building Architecture, Floor Plan, Home Design, Interior Design Budget: ₹12500 - ₹37500 INR