I have a text which is
SMA(20, V1) > 200000 AND C1 < LowerBollingerBand(20, 2)
after applying regex I need a result like this
SMA(20, V1) LowerBollingerBand(20, 2)
I can select SMA and LowerBollingerBand by defining these keywords explicitly like this
(SMA|LowerBollingerBand)(\()
But I am unable to select whatever comes between brackets followed by brackets