入门教程也可作参考文档: http://unibetter.com/deerchao/zhengzhe-biaodashi-jiaocheng-se.htm javascript正则表达式在线测试: http://regexpal.com/