Hi Team need regex below string for these

Hi team,

String str=“Due for Reassessment (49)”
required output as =“Due for Reassessment 49”

please help me anyone regex value

Hi @Mada_Sai_Krishna

str.Replace("(","").Replace(")","")

Regards,

Hi @Mada_Sai_Krishna

"Due for Reassessment (49)".Replace("(", "").Replace(")", "").Trim()

str="Due for Reassessment (49)"
str.Replace("(", "").Replace(")", "").Trim()

we could handle it within a replace
grafik

@Mada_Sai_Krishna

@Mada_Sai_Krishna
If you find solution.Please mark it as solution to close the loop