How to change a string using 'RegularExpressions'

tmpText = “aaa add dd”

How to…RegularExpressions

I tried. But it’s not perfect.
tmpText.Replace(System.Text.RegularExpressions.Regex.Match(tmpText, “(())”).Value, “”)

I want to result…
after tmpText = “aaa add dd”

@sumouse

Could you please tell more details and what is your expected output ?

Thanks.
I Success…

result ReularExpress : var RegExpDS = “(< ! – ^> – > )”;

1 Like