当前位置:网站首页>常用正则表达式
常用正则表达式
2022-04-23 07:01:00 【凌儿~】
常用正则表达式
1.邮箱(Email)
- 只允许英文字母、数字、下划线、英文句号、以及中划线组成
^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$
- 名称允许汉字、字母、数字,域名只允许英文域名
^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$
- 名称允许字母、数字、点号、中划线,域名只允许英文域名以及中划线,点号,并且点号后面只有2-4位
/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{
2,4})+$/
版权声明
本文为[凌儿~]所创,转载请带上原文链接,感谢
https://blog.csdn.net/rhcjqmm666/article/details/124302862
边栏推荐
- 浏览器中的 Kubernetes 和 IDE | 交互式学习平台Killercoda
- [go]常见的并发模型[泛型版]
- 【Appium】测试时遇到手机内嵌H5页面的切换问题
- Go语学习笔记 - 数组 | 从零开始Go语言
- Ignis公链的NFT生态发展:Unicorn.art的捐赠开发之路
- Implementation principle of instanceof
- 几种智能机器人室内定位方法对比
- Smart business card applet business card details page function implementation key code
- Codeforces Round #784 (Div. 4)
- Hump naming object
猜你喜欢
yum源仓库本地搭建的两种方法
Go语学习笔记 - 语言接口 | 从零开始Go语言
一款拥有漂亮外表的Typecho简洁主题_Scarfskin 源码下载
简述存储器的分级策略
1216_ MISRA_ C standard learning notes_ Rule requirements for control flow
Data security has become a hidden danger. Let's see how vivo can make "user data" armor again
Ribbon start process
一篇文章看懂变量提升(hoisting)
Ctf-misc learning from start to give up
How to import Excel data in SQL server, 2019 Edition
随机推荐
yum源仓库本地搭建的两种方法
Ribbon start process
社区团购小程序源码+界面diy+附近团长+供应商+拼团+菜谱+秒杀+预售+配送+直播
每周leetcode - 06 数组专题 7~739~50~offer 62~26~189~9
Mobile web (Font Icon, plane conversion, color gradient)
Talking about distributed storage from ES, mongodb, redis and rocketmq
Briefly describe the hierarchical strategy of memory
LeetCode15. 三数之和
[极客大挑战 2019]Havefun1
将实例化对象的方法 给新的对象用
Fibula dynamic programming
MYSQL——第一章节(数据类型2)
欧圣电气深交所上市:市值52亿 陆为东父女为美国籍
访问数据库的时候出现错误 Operation not allowed for a result set of type ResultSet.TYPE_FORWARD_ONLY.详解
Intranet penetration series: ICMP of Intranet tunnel_ Tran
Solidity IDE Remix中文版使用手册
The following program deletes n consecutive words starting from the ith character from the string str
网赚APP资源下载类网站源码
Research on system and software security (4)
校园转转二手市场源码下载