//判断字符串中是否含有数字
        public bool isExists(string str)
        {
            return Regex.Matches(str, "[0-9]").Count > 0;
        }
posted on 2012-02-10 15:26  张@天  阅读(370)  评论(0)    收藏  举报