protected void Button1_Click(object sender, EventArgs e)
    {
      string wbc= this.TextBox1.Text;
        if(wbc !="" && wbc !=null)
        {
            this.Label1.Text = Regex.Match(wbc, @"[0-9]\d*$").ToString();
            this.TextBox1.Text="";
        }
    }自已写的,问题是我输入(.,;':"/?)这些字符后就不能用了,高人很指点一下谢谢
Regex.Match(wbc, @"[0-9]\d*$").ToString();