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.
AI Voice Skincare Advisor Category: AI (Artificial Intelligence) HW / SW, AI Chatbot Development, AI Content Creation, Audio Services, Education & Tutoring, Natural Language Processing, Research Writing, Voice Talent Budget: $15 - $25 USD
26-Nov-2025 11:02 GMT
Roblox City-Building Game Development Category: Game Design, Game Development, Game Testing, Java, Lua, Roblox, Scripting, Unity 3D Budget: $250 - $750 USD
Complete Rock Song Production Category: Audio Editing, Audio Production, Audio Services, Music, Music Production, Sound Design Budget: $10 - $30 USD
26-Nov-2025 11:00 GMT
YouTube Vlog Cinematic Editor Category: Adobe Premiere Pro, After Effects, Audio Editing, Color Grading, DaVinci Resolve, Final Cut Pro, Post Production, Video Editing, Video Production, Video Services Budget: ₹600 - ₹1500 INR