Hi all i am having a string as follows
string abc= "1) ABC <br> 2) SHJKL <br> 3) SJLKK JJJLHH";
I tried this Regex but i didn’t get as per required
string str = Regex.Replace(abc, "[^a-zA-Z0-9% ._]", string.Empty);
I need the output as abcSHJKLSJLKKJJJLHH
The following replaces anything that (is not an character or an open bracket) with string.empty: