汉字正则:[\u4e00-\u9fa5]
数字正则:[0-9]
英文字母:[a-zA-Z]
匹配包含汉字的正则:.*[\u4e00-\u9fa5]+.*
以数字开头:^\d+.*
github:https://github.com/xdlkc
汉字正则:[\u4e00-\u9fa5]
数字正则:[0-9]
英文字母:[a-zA-Z]
匹配包含汉字的正则:.*[\u4e00-\u9fa5]+.*
以数字开头:^\d+.*
github:https://github.com/xdlkc
本文标题:常用正则表达式
本文链接:https://www.haomeiwen.com/subject/amwhictx.html
网友评论