How to find between 2 words and replace them into new string? I wanna replace same.
for example given string :
string s = "tt(ss)same-tt(ee)"