js正则运算,手机号和座机号通用
时间: 2023-11-09 07:17:24 浏览: 140
js验证电话号码手机号码的正则表达式
5星 · 资源好评率100%
在JavaScript中,可以使用正则表达式来进行手机号和座机号的通用匹配。下面是一个示例的正则表达式来匹配手机号和座机号:
```javascript
/^(\+?86)?1<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [全球国家(区号)手机号正则校验](https://download.csdn.net/download/qq_39143010/86338097)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Python正则表达式匹配电话号码和邮箱实例演示,正则表达式的基本用法](https://blog.csdn.net/qq_38161040/article/details/130332747)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文