public string isExists(string str)
{
return Regex.Match(str, @"[+-]?\d+(.\d{2})?").Value;
}
Response.Write( isExists("<b>-AU$15.08</b>"));
public string isExists(string str)
{
return Regex.Match(str, @"[+-]?\d+(.\d{2})?").Value;
}
Response.Write( isExists("<b>-AU$15.08</b>"));
相关文章: