当前位置:网站首页>Common regular expressions
Common regular expressions
2022-04-23 08:15:00 【Ling er~】
Common regular expressions
1. mailbox (Email)
- Only English letters are allowed 、 Numbers 、 Underline 、 English full stop 、 And the middle dash
^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$
- The name allows Chinese characters 、 Letter 、 Numbers , Domain names are only allowed in English
^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$
- Name allows letters 、 Numbers 、 Order number 、 Center line , Domain names are only allowed in English and underlined , Order number , And only after the dot 2-4 position
/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{
2,4})+$/
版权声明
本文为[Ling er~]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230700344058.html
边栏推荐
猜你喜欢
随机推荐
[programming practice / embedded competition] learning record of embedded competition (II): picture streaming based on TCP
Solidity IDE Remix中文版使用手册
有意思的js 代码
Penetration test interview collection -- HVV---
CSV Column Extract列提取
Flutter之Provider共享数据的两种方式
Face to face summary 2
数据安全问题已成隐患,看vivo如何让“用户数据”重新披甲
Alibaba sentinel learning QA
[problem solving] vs2019 solves the problem that the EXE file generated by compilation cannot be opened
AAAI 2022 recruit speakers!!
谈谈那些基础但不简单的股票数据
Install MySQL for Ubuntu and query the average score
Brief description of CPU
C outputs a two-dimensional array with the following characteristics.
NLLLoss+log_SoftMax=CE_Loss
Vowel substring in statistical string of leetcode simple problem
The whole house intelligence bet by the giant is driving the "self revolution" of Hisense, Huawei and Xiaomi
C language learning record -- use and analysis of string function (2)
【解释】get ORA-12838: cannot read/modify an object after modifying it in parallel