I have a long string. Somewhere in the string there is a part of it that starts with &*(
and then there is some text and it ends with )(*
.
How can I remove this text along with the special symbols in the beginning and in the end?
Example:
Bla bla bla &*( asd asd asd )(* bla bla bla. Yadda yadda yadda &*( akls lkja )(* yadda.
I want to output
Bla bla bla bla bla bla. Yadda yadda yadda yadda.