• 常用表达式:微软正则表达式地址:
      http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/jscript7/html/jsreconintroductiontoregularexpressions.asp

      "^\d+$"  //非负整数(正整数 + 0)
      "^[0-9]*[1-9][0-9]*$"  //正整数
      "^((-\d+)|(0+))$"  //非正整数(负整数 + 0)
      "^-[0-9]*[1-9][0-9]*$&qu...