In javascript, my regex is:
let regEx = new RegExp("([A-Za-z])(?!([^<]+)?>)", "gi");
My string is:
<span class="customer-key">{aaa}</span>bbb {ccc}
In the above example, the regex matches "aaa", "bbb" and "ccc".
I would like to update my regex to EXCLUDE anything WITHIN curly braces, so that it ONLY matches "bbb".
How can I update the regex to do so? thanks!