Commit 5b3a77bb authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent 74a90e65
......@@ -71,4 +71,13 @@ function phoneNumber(){
}
```
##### 7.判断+86后11位电话号码 `phoneNumber86`
\ No newline at end of file
##### 7.判断+86后11位电话号码 `phoneNumber86`
- 参数为`( 手机号 )`
- 通过正则表达式校验 返回 `true of false`
- 调用实例如下
```javascript
function phoneNumber(){
alert(hlsUtil.phoneNumber('+86-18325379820'));
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment