*注:此语法部分语言不支持,例:javascript。例如正则表达式 匹配“it belongs to him”和“it belongs to her”,但是不能匹配“it belongs to them.”。
一、校验数字的表达式1数字:^*$2n位的数字:^\d{n}$3至少n位的数字。^\d{n,}$4m-n位的数字:^\d{m,n}$5零和非零开头的数字。