hi Neda, I didnot asked you to replace any code line...
I asked you to add this code.
return regex.Replace(text, string.Empty).Replace(" ", string.Empty);
But as you dont know which code plays what functionality you done that.
However
Thanks and Regards,
Rk_Hirpara