Skip to content

🎃 常用正则表达式 - 收集一些在平时项目开发中经常用到的正则表达式。

License

Notifications You must be signed in to change notification settings

wanglin0121/common-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Common Regular Expression

Regex

Table of Contents

Email

[email protected]

^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$

email

Phone

13012345678

^1(3|4|5|7|8)\d{9}$

email

Domain-name

https://google.com

^((http:\/\/)|(https:\/\/))?([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}(\/)

domain-name

About

🎃 常用正则表达式 - 收集一些在平时项目开发中经常用到的正则表达式。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published