Regarding Regex Expression

i want regex code which can replace (66.15%) with 66.15%. I am able to replace only one paranthesis at time

@shishirshetty2701

Try this:

Str = “(66.15%)”

Str.replace(“(”,“”).replace(“)”,“”)

1 Like

You can use string replace method to replace parenthesis.

youString.Replace("(","").Replace(")","")

1 Like

Thanks alot. It worked

1 Like

Thanks alot. It worked fine

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.