常用正则表达式资源库
一个收集常用正则表达式的资源库,并通过可视化帮助理解,基于 regexper。
email simple
Simple email regex that works most of the times
email complicated
Unnecessarily complicated email regex that works "more than" most of the times
emoji
Emojis or emoticons are symbols used to denote various emotions in electronic messages.
semantic versioning
Match a SemVer as specified in https://semver.org/
phone number
Match a phone number with "-" and/or country code.
password
Minimum eight characters, at least one upper case English letter, one lower case English letter, one number and one special character
ip address(ipv4)
Matches an ip address(version 4)
date
Matches a date in the format dd/mm/yyyy , dd-mm-yyyy or dd.mm.yyyy
ascii
Matches any printable ascii character
mac address
A simple expression to match an ethernet MAC address
credit card number
Credit card number is the card unique identifier found on payment cards.
参考