I have a string with wrong directed paranthesis, I want to replace ( with ) and ) with ( at same time, can I do it with a single replace method or I should use a loop?
For example I have this string : You need extra time ) or money (
Which should be like this : You need extra time ( or money )