Hi
I need to make sure that every opening bracket in a long string has also been closed at the end or vice versa.
i.e
string="abc(xyz)...gsdfs(asdfasdfadfaf
this should put another brakcer at the end in order to make its pair.
There are code snippets with a loop but I want to achieve it with RegEx.is it possible
Reason I don't want to use loop ,is because I will have to loop over cells in a range and if every cell has a sub loop then the code will go slow.
Bookmarks