Extract Only Numeric in C#

string Retcode = Regex.Replace(Request.QueryString["code"].ToString(), "[^0-9]+", string.Empty);

Comments

Popular posts from this blog