惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园_首页
W
WeLiveSecurity
S
Secure Thoughts
S
Security @ Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
U
Unit 42
N
News and Events Feed by Topic
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
Forbes - Security
Forbes - Security
T
Tor Project blog
I
Intezer
B
Blog
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
T
Threat Research - Cisco Blogs
AI
AI
Google DeepMind News
Google DeepMind News
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
L
Lohrmann on Cybersecurity
WordPress大学
WordPress大学
博客园 - 聂微东
雷峰网
雷峰网
P
Privacy International News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
PCI Perspectives
PCI Perspectives
Y
Y Combinator Blog
Spread Privacy
Spread Privacy
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
Vercel News
Vercel News
A
Arctic Wolf
The Register - Security
The Register - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
H
Heimdal Security Blog
Know Your Adversary
Know Your Adversary
P
Proofpoint News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed

博客园 - 田老师

休息,考完了MCSD 如何用命令行将我的Phonegap环境更新到最新版本? 【新年福利】《正则表达式30分钟入门》APP版本发布 Cowboxer不能输入中文的解决方案 SharePoint Designer 报错“ Value does not fall within the expected range” Hyper-v 虚拟机时间与主机同步 【转载】C# 读取Excel文件代码的几种片段收集 【最新】判断是否为移动号码的正则表达式 使用.net调用java的Web Services Visual Studio中“生成”与“重新生成”的区别(The difference between "build" and "rebuild") 招商银行网上银行对账失败,总提示Communication Failed 《ASP.NET MVC Music Store Tutorial》在Visual Studio 2008简体中文环境下的代码修订 SQL Server Management Studio Express 无法连接 SQL Compact Edition(或新建数据库文件)的问题 试用SQL SERVER 2008 R2 SQL Server 2005无法启动服务 在VirtualBox中安装QuickTestProfessional10 如何在重构时,批量重命名程序集的命名空间 defer属性导致引用JQuery的页面报“浏览器无法打开网站xxx,操作被中止”错误 Visual Studio 2010试用手记
最新、可靠的用于验证手机号码和移动号码的正则表达式 - 田老师 - 博客园
田老师 · 2010-04-28 · via 博客园 - 田老师

今天被186和188的号码打败了,痛定思痛,参考网上前人的方式把这2个正则再完整了一次。

验证是否为手机号码的正则:"^(13[0-9]|15[0|3|6|7|8|9]|18[6|8|9])\d{8}$"

验证是否为移动手机号码的正则:"^1(3[4-9]|5[012789]|8[78])\d{8}$"

请放心使用吧……