正则获取金额

  public string isExists(string str)
        {

            return Regex.Match(str, @"[+-]?\d+(.\d{2})?").Value;

        }

posted @ 2012-06-30 15:51  放哨De老鼠  阅读(171)  评论(0编辑  收藏  举报