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.
Google Sheets Balance Sheet Entry Category: Accounting, Data Analysis, Data Entry, Data Management, Data Processing, Excel, Google Sheets, Visual Basic Budget: ₹750 - ₹1250 INR
19-Jan-2026 11:04 GMT
One-on-One Quran & Arabic Tutoring -- 2 Category: Arabic Translator, Education & Tutoring, Language Tutoring, Personal Development, Teaching / Lecturing, Translation Budget: $10 - $30 AUD
19-Jan-2026 11:04 GMT
Raw Material Inventory Excel Sheet Category: Data Analysis, Data Entry, Data Management, Data Processing, Data Visualization, Excel, Excel Macros, Excel VBA, Inventory Management, Visual Basic Budget: ₹100 - ₹400 INR
19-Jan-2026 11:03 GMT
Modern Logo Design Project Category: Adobe Illustrator, Photoshop, Branding, Graphic Design, Illustration, Logo Design, Visual Design Budget: $750 - $1500 USD
Photographer for Thailand Bachelor Trip Category: 3D Modelling, 3D Rendering, Color Grading, Drone Photography, Photography, Photoshop, Video Editing, Videography Budget: ₹12500 - ₹37500 INR
19-Jan-2026 11:02 GMT
City Google Maps Data Scrape Category: Cartography & Maps, Data Collection, Data Entry, Data Management, Data Mining, Data Processing, Data Scraping, Excel, Google Sheets, Web Scraping Budget: $30 - $250 AUD
19-Jan-2026 11:00 GMT
Logo Modern & Copywriting Category: Adobe Illustrator, Photoshop, Branding, Content Writing, Copywriting, Corporate Identity, Graphic Design, Logo Design Budget: $250 - $750 USD