Is there a way to find and remove a string where it is between special characters?
The special chars will always be ‘(’ and ‘)’.
I don’t really want to split the string as ‘(’ and ‘)’ can appear multiple times in a string and that could become quite complex. Can this be achieved through linq?
For example:
strTest: “this is a (test) string”
Should become: strTest: “this is a string”
The word ‘test’ is dynamic, only the ( ) remains constant.