How can I quickly and easily replace \style{....} but not the content? Example: \SomeStyle{\otherstyle{this is the \textit{nested part} some more text...}} shold become \otherstyle{this is the \textit{nested part} some more text...} It can't be done with simple or even complex regex. It needs a script. It would be really nice if Kile would implement a replace option to handle such cases. https://unix.stackexchange.com/questions/790660/removing-braces-statements-containing-nested-braces-inside/79...