标签:
1. 身份证号码正则:
reg = new RegExp(/^(\d{6})()?(\d{4})(\d{2})(\d{2})(\d{3})([0-9xX])$/); /^(\d{6})()?(\d{4})(\d{2})(\d{2})(\d{3})([0-9xX])$/
常用正则
原文地址:http://www.cnblogs.com/alicePanZ/p/5015860.html