try this:
using System.Text.RegularExpressions;
....
string comparestring = "888555";
string ourstring ="whatever string characters or numbers! like aaabbb or 888555"
string newstring = Regex.Match(ourstring, @"[\d]*").Value;
if(comparestring == newstring )
{
textbox1.text = newstring;
}