从已知身份证号码中提取生日和性别

1.原生Js提取代码 <!DOCTYPE html> <html> <head> <title>原生js提取</title> <script type="text/javascript"> function YanZheng(card){ var pat = /^\d{6}(((19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\
相关文章
相关标签/搜索