Skip to content

Conversation

Alanscut
Copy link
Contributor

新增IP识别,添加身份证号识别的正则。

ip示例:
"192.168.1.1, 1.1.1.1, 255.254.251.256, 0.0.0.0"
输出:
192.168.1.1/ip,,/w, ,1.1.1.1/ip,,/w, ,255/m,./w,254/m,./w,251/m,./w,256/m,,/w, ,0.0.0.0/ip

idcard示例:
"132826197713205030这,身份证号码是13072219850628005xx"
输出:
132826197713205030/m,这/r,,/w,身份/n,证号码/n,是/v,13072219850628005x/idcard,x/en

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant