1. module.exports = [
    2. {
    3. title: '火车车次',
    4. rule: /^[GCDZTSPKXLY1-9]\d{1,4}$/,
    5. examples: ['G1868', 'D102', 'D9', 'Z5', 'Z24', 'Z17']
    6. },
    7. {
    8. title: '手机机身码(IMEI)',
    9. rule: /^\d{15,17}$/,
    10. examples: ['123456789012345', '1234567890123456', '12345678901234567']
    11. },
    12. {
    13. title: '必须带端口号的网址(或ip)',
    14. rule: /^((ht|f)tps?:\/\/)?[\w-]+(\.[\w-]+)+:\d{1,5}\/?$/,
    15. examples: ['https://www.qq.com:8080', '127.0.0.1:5050', 'baidu.com:8001', 'http://192.168.1.1:9090'],
    16. counterExamples: ['192.168.1.1', 'https://www.jd.com']
    17. },
    18. {
    19. title: '网址(url,支持端口和"?+参数"和"#+参数)',
    20. rule: /^(((ht|f)tps?):\/\/)?[\w-]+(\.[\w-]+)+([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?$/,
    21. examples: ['www.qq.com', 'https://baidu.com', '360.com:8080/vue/#/a=1&b=2'],
    22. counterExamples: ['....']
    23. },
    24. {
    25. title: '统一社会信用代码',
    26. rule: /^[0-9A-HJ-NPQRTUWXY]{2}\d{6}[0-9A-HJ-NPQRTUWXY]{10}$/,
    27. examples: ['91230184MA1BUFLT44', '92371000MA3MXH0E3W'],
    28. },
    29. {
    30. title: '统一社会信用代码(宽松匹配)(15位/18位/20位数字/字母)',
    31. rule: /^(([0-9A-Za-z]{15})|([0-9A-Za-z]{18})|([0-9A-Za-z]{20}))$/,
    32. examples: ['91110108772551611J', '911101085923662400']
    33. },
    34. {
    35. title: '迅雷链接',
    36. rule: /^thunderx?:\/\/[a-zA-Z\d]+=$/,
    37. examples: ['thunder://QUEsICdtYWduZXQ6P3h0PXVybjpidGloOjBCQTE0RTUxRkUwNjU1RjE0Qzc4NjE4RjY4NDY0QjZFNTEyNjcyOUMnWlo='],
    38. },
    39. {
    40. title: 'ed2k链接(宽松匹配)',
    41. rule: /^ed2k:\/\/\|file\|.+\|\/$/,
    42. examples: ['ed2k://|file|%E5%AF%84%E7%94%9F%E8%99%AB.PARASITE.2019.HD-1080p.X264.AAC-UUMp4(ED2000.COM).mp4|2501554832|C0B93E0879C6071CBED732C20CE577A3|h=5HTKZPQFYRKORN52I3M7GQ4QQCIHFIBV|/'],
    43. },
    44. {
    45. title: '磁力链接(宽松匹配)',
    46. rule: /^magnet:\?xt=urn:btih:[0-9a-fA-F]{40,}.*$/,
    47. examples: ['magnet:?xt=urn:btih:40A89A6F4FB1498A98087109D012A9A851FBE0FC'],
    48. },
    49. {
    50. title: '子网掩码',
    51. rule: /^(?:\d{1,2}|1\d\d|2[0-4]\d|25[0-5])(?:\.(?:\d{1,2}|1\d\d|2[0-4]\d|25[0-5])){3}$/,
    52. examples: ['255.255.255.0', '255.224.0.0']
    53. },
    54. {
    55. title: 'linux"隐藏文件"路径',
    56. rule: /^\/(?:[^/]+\/)*\.[^/]*/,
    57. examples: ['/usr/ad/.dd', '/root/.gitignore', '/.gitignore']
    58. },
    59. {
    60. title: 'linux文件夹路径',
    61. rule: /^\/(?:[^/]+\/)*$/,
    62. examples: ['/usr/ad/dd/', '/', '/root/']
    63. },
    64. {
    65. title: 'linux文件路径',
    66. rule: /^\/(?:[^/]+\/)*[^/]+$/,
    67. examples: ['/root/b.ts', '/root/abc']
    68. },
    69. {
    70. title: 'window"文件夹"路径',
    71. rule: /^[a-zA-Z]:\\(?:\w+\\?)*$/,
    72. examples: ['C:\\Users\\Administrator\\Desktop', 'e:\\m\\']
    73. },
    74. {
    75. title: 'window下"文件"路径',
    76. rule: /^[a-zA-Z]:\\(?:\w+\\)*\w+\.\w+$/,
    77. examples: ['C:\\Users\\Administrator\\Desktop\\qq.link', 'e:\\m\\vscode.exe']
    78. },
    79. {
    80. title: '股票代码(A股)',
    81. rule: /^(s[hz]|S[HZ])(000[\d]{3}|002[\d]{3}|300[\d]{3}|600[\d]{3}|60[\d]{4})$/,
    82. examples: ['sz000858', 'SZ002136', 'sz300675', 'SH600600', 'sh601155']
    83. },
    84. {
    85. title: '大于等于0, 小于等于150, 支持小数位出现5, 如145.5, 用于判断考卷分数',
    86. rule: /^150$|^(?:\d|[1-9]\d|1[0-4]\d)(?:\.5)?$/,
    87. examples: [150, 100.5]
    88. },
    89. {
    90. title: 'html注释',
    91. rule: /^<!--[\s\S]*?-->$/,
    92. examples: ['<!--<div class="_bubble"></div>-->']
    93. },
    94. {
    95. title: 'md5格式(32位)',
    96. rule: /^([a-f\d]{32}|[A-F\d]{32})$/,
    97. examples: ['21fe181c5bfc16306a6828c1f7b762e8'],
    98. },
    99. {
    100. title: '版本号(version)格式必须为X.Y.Z',
    101. rule: /^\d+(?:\.\d+){2}$/,
    102. examples: ['16.3.10']
    103. },
    104. {
    105. title: '视频(video)链接地址(视频格式可按需增删)',
    106. rule: /^https?:\/\/(.+\/)+.+(\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|mp4))$/i,
    107. examples: ['http://www.abc.com/video/wc.avi']
    108. },
    109. {
    110. title: '图片(image)链接地址(图片格式可按需增删)',
    111. rule: /^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,
    112. examples: ['https://www.abc.com/logo.png']
    113. },
    114. {
    115. title: '24小时制时间(HH:mm:ss)',
    116. rule: /^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d$/,
    117. examples: ['23:34:55']
    118. },
    119. {
    120. title: '12小时制时间(hh:mm:ss)',
    121. rule: /^(?:1[0-2]|0?[1-9]):[0-5]\d:[0-5]\d$/,
    122. examples: ['11:34:55'],
    123. counterExamples: ['23:34:55']
    124. },
    125. {
    126. title: 'base64格式',
    127. rule: /^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*$/i,
    128. examples: ['data:image/gif;base64,xxxx==']
    129. },
    130. {
    131. title: '数字/货币金额(支持负数、千分位分隔符)',
    132. rule: /^-?\d+(,\d{3})*(\.\d{1,2})?$/,
    133. examples: [100, -0.99, 3, 234.32, -1, 900, 235.09, '12,345,678.90']
    134. },
    135. {
    136. title: '数字/货币金额 (只支持正数、不支持校验千分位分隔符)',
    137. rule: /(?:^[1-9]([0-9]+)?(?:\.[0-9]{1,2})?$)|(?:^(?:0){1}$)|(?:^[0-9]\.[0-9](?:[0-9])?$)/,
    138. examples: [0.99, 8.99, 666]
    139. },
    140. {
    141. title: '银行卡号(10到30位, 覆盖对公/私账户, 参考[微信支付](https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=22_1))',
    142. rule: /^[1-9]\d{9,29}$/,
    143. examples: [6234567890, 6222026006705354217]
    144. },
    145. {
    146. title: '中文姓名',
    147. rule: /^(?:[\u4e00-\u9fa5·]{2,16})$/,
    148. examples: ['葛二蛋', '凯文·杜兰特', '德克·维尔纳·诺维茨基']
    149. },
    150. {
    151. title: '英文姓名',
    152. rule: /(^[a-zA-Z]{1}[a-zA-Z\s]{0,20}[a-zA-Z]{1}$)/,
    153. examples: ['James', 'Kevin Wayne Durant', 'Dirk Nowitzki']
    154. },
    155. {
    156. title: '车牌号(新能源)',
    157. rule: /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领]{1}[A-HJ-NP-Z]{1}(([0-9]{5}[DF])|([DF][A-HJ-NP-Z0-9][0-9]{4}))$/,
    158. examples: ['京AD92035', '甘G23459F'],
    159. },
    160. {
    161. title: '车牌号(非新能源)',
    162. rule: /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领]{1}[A-HJ-NP-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/,
    163. examples: ['京A00599', '黑D23908']
    164. },
    165. {
    166. title: '车牌号(新能源+非新能源)',
    167. rule: /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领]{1}[A-HJ-NP-Z]{1}(?:(([0-9]{5}[DF])|([DF][A-HJ-NP-Z0-9][0-9]{4}))|[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1})$/,
    168. examples: ['京A12345D', '京A00599'],
    169. counterExamples: ['宁AD1234555555', '浙苏H6F681']
    170. },
    171. {
    172. title: '手机号(mobile phone)中国(严谨), 根据工信部2019年最新公布的手机号段',
    173. rule: /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-7|9])|(?:5[0-3|5-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[1|8|9]))\d{8}$/,
    174. examples: ['008618311006933', '+8617888829981', '19119255642']
    175. },
    176. {
    177. title: '手机号(mobile phone)中国(宽松), 只要是13,14,15,16,17,18,19开头即可',
    178. rule: /^(?:(?:\+|00)86)?1[3-9]\d{9}$/,
    179. examples: ['008618311006933', '+8617888829981', '19119255642']
    180. },
    181. {
    182. title: '手机号(mobile phone)中国(最宽松), 只要是1开头即可, 如果你的手机号是用来接收短信, 优先建议选择这一条',
    183. rule: /^(?:(?:\+|00)86)?1\d{10}$/,
    184. examples: ['008618311006933', '+8617888829981', '19119255642']
    185. },
    186. {
    187. title: 'date(日期)',
    188. rule: /^\d{4}(-)(1[0-2]|0?\d)\1([0-2]\d|\d|30|31)$/,
    189. examples: ['1990-12-12', '2020-1-1']
    190. },
    191. {
    192. title: 'email(邮箱)',
    193. rule: /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
    194. examples: ['90203918@qq.com', 'nbilly@126.com']
    195. },
    196. {
    197. title: '座机(tel phone)电话(国内),如: 0341-86091234',
    198. rule: /^\d{3}-\d{8}$|^\d{4}-\d{7,8}$/,
    199. examples: ['0936-4211235']
    200. },
    201. {
    202. title: '座机(tel phone)电话(国内), 区号可选,如: 0341-86091234',
    203. rule: /^(?:\d{3}-)?\d{8}$|^(?:\d{4}-)?\d{7,8}$/,
    204. examples: ['0936-4211235','89076543']
    205. },
    206. {
    207. title: '身份证号(1代,15位数字)',
    208. rule: /^[1-9]\d{7}(?:0\d|10|11|12)(?:0[1-9]|[1-2][\d]|30|31)\d{3}$/,
    209. examples: ['123456991010193']
    210. },
    211. {
    212. title: '身份证号(2代,18位数字),最后一位是校验位,可能为数字或字符X',
    213. rule: /^[1-9]\d{5}(?:18|19|20)\d{2}(?:0[1-9]|10|11|12)(?:0[1-9]|[1-2]\d|30|31)\d{3}[\dXx]$/,
    214. examples: ['12345619991205131x']
    215. },
    216. {
    217. title: '身份证号, 支持1/2代(15位/18位数字)',
    218. rule: /(^\d{8}(0\d|10|11|12)([0-2]\d|30|31)\d{3}$)|(^\d{6}(18|19|20)\d{2}(0[1-9]|10|11|12)([0-2]\d|30|31)\d{3}(\d|X|x)$)/,
    219. examples: ['622223199912051311']
    220. },
    221. {
    222. title: '护照(包含香港、澳门)',
    223. rule: /(^[EeKkGgDdSsPpHh]\d{8}$)|(^(([Ee][a-fA-F])|([DdSsPp][Ee])|([Kk][Jj])|([Mm][Aa])|(1[45]))\d{7}$)/,
    224. examples: ['s28233515', '141234567', '159203084', 'MA1234567', 'K25345719']
    225. },
    226. {
    227. title: '帐号是否合法(字母开头,允许5-16字节,允许字母数字下划线组合',
    228. rule: /^[a-zA-Z]\w{4,15}$/,
    229. examples: ['justin', 'justin1989', 'justin_666']
    230. },
    231. {
    232. title: '中文/汉字',
    233. // rule: /^[\u4E00-\u9FA5]+$/,
    234. rule: /^(?:[\u3400-\u4DB5\u4E00-\u9FEA\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0])+$/,
    235. examples: ['正则', '前端']
    236. },
    237. {
    238. title: '小数',
    239. rule: /^\d+\.\d+$/,
    240. examples: ['0.0', '0.09']
    241. },
    242. {
    243. title: '数字',
    244. rule: /^\d{1,}$/,
    245. examples: [12345678]
    246. },
    247. {
    248. title: 'html标签(宽松匹配)',
    249. rule: /<(\w+)[^>]*>(.*?<\/\1>)?/,
    250. examples: ['<div id="app"> 2333 </div>', '<input type="text">', '<br>']
    251. },
    252. {
    253. title: 'qq号格式正确',
    254. rule: /^[1-9][0-9]{4,10}$/,
    255. examples: [903013545, 9020304]
    256. },
    257. {
    258. title: '数字和字母组成',
    259. rule: /^[A-Za-z0-9]+$/,
    260. examples: ['james666', 'haha233hi']
    261. },
    262. {
    263. title: '英文字母',
    264. rule: /^[a-zA-Z]+$/,
    265. examples: ['Russel']
    266. },
    267. {
    268. title: '小写英文字母组成',
    269. rule: /^[a-z]+$/,
    270. examples: ['russel']
    271. },
    272. {
    273. title: '大写英文字母',
    274. rule: /^[A-Z]+$/,
    275. examples: ['ABC', 'KD']
    276. },
    277. {
    278. title: '密码强度校验,最少6位,包括至少1个大写字母,1个小写字母,1个数字,1个特殊字符',
    279. rule: /^\S*(?=\S{6,})(?=\S*\d)(?=\S*[A-Z])(?=\S*[a-z])(?=\S*[!@#$%^&*? ])\S*$/,
    280. examples: ['Kd@curry666']
    281. },
    282. {
    283. title: '用户名校验,4到16位(字母,数字,下划线,减号)',
    284. rule: /^[a-zA-Z0-9_-]{4,16}$/,
    285. examples: ['xiaohua_qq']
    286. },
    287. {
    288. title: 'ip-v4[:端口]',
    289. rule: /^((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]).){3}(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(?::(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$/,
    290. examples: ['172.16.0.0','172.16.0.0:8080', '127.0.0.0', '127.0.0.0:998']
    291. },
    292. {
    293. title: 'ip-v6[:端口]',
    294. rule: /^(?:(?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))|\[(?:(?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))\](?::(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$/i,
    295. examples: ['2031:0000:130f:0000:0000:09c0:876a:130b', '[2031:0000:130f:0000:0000:09c0:876a:130b]:8080']
    296. },
    297. {
    298. title: '16进制颜色',
    299. rule: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,
    300. examples: ['#f00', '#F90', '#000', '#fe9de8']
    301. },
    302. {
    303. title: '微信号(wx),6至20位,以字母开头,字母,数字,减号,下划线',
    304. rule: /^[a-zA-Z][-_a-zA-Z0-9]{5,19}$/,
    305. examples: ['github666', 'kd_-666']
    306. },
    307. {
    308. title: '邮政编码(中国)',
    309. rule: /^(0[1-7]|1[0-356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[0-5]|8[013-6])\d{4}$/,
    310. examples: ['734500', '100101']
    311. },
    312. {
    313. title: '中文和数字',
    314. rule: /^((?:[\u3400-\u4DB5\u4E00-\u9FEA\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0])|(\d))+$/,
    315. examples: ['哈哈哈', '你好6啊']
    316. },
    317. {
    318. title: '不能包含字母',
    319. rule: /^[^A-Za-z]*$/,
    320. examples: ['你好6啊', '@¥()!']
    321. },
    322. {
    323. title: 'java包名',
    324. rule: /^([a-zA-Z_][a-zA-Z0-9_]*)+([.][a-zA-Z_][a-zA-Z0-9_]*)+$/,
    325. examples: ['com.bbb.name']
    326. },
    327. {
    328. title: 'mac地址',
    329. rule: /^((([a-f0-9]{2}:){5})|(([a-f0-9]{2}-){5}))[a-f0-9]{2}$/i,
    330. examples: ['38:f9:d3:4b:f5:51', '00-0C-29-CA-E4-66']
    331. },
    332. {
    333. title: '匹配连续重复的字符',
    334. rule: /(.)\1+/,
    335. examples: ['我我我', '112233', '11234']
    336. },
    337. {
    338. title:'数字和英文字母组成,并且同时含有数字和英文字母',
    339. rule:/^(?=.*[a-zA-Z])(?=.*\d).+$/,
    340. examples: ['我a我1我', 'a对1']
    341. },
    342. {
    343. title: '香港身份证 ',
    344. rule: /^[a-zA-Z]\d{6}\([\dA]\)$/,
    345. examples: ['K034169(1)']
    346. },
    347. {
    348. title:'澳门身份证 ',
    349. rule: /^[1|5|7]\d{6}[(\d)]{3}$/,
    350. examples: ['5686611(1)']
    351. },
    352. {
    353. title: '台湾身份证 ',
    354. rule: /^[a-zA-Z][0-9]{9}$/,
    355. examples: ['U193683453']
    356. },
    357. ];