当前位置:网站首页>Regular form form judgment
Regular form form judgment
2022-07-27 10:54:00 【Dancing little monkey】
cell-phone number
rules: [
{
required: noValida ? false : true,
message: " Cell phone number cannot be empty !",
},
{
pattern: /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-7|9])|(?:5[0-3|5-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[1|8|9]))\d{8}$/,
message: " Please input the correct mobile number ",
},
],
mailbox
rules: [
{
required: noValida ? false : true,
message: " The mailbox cannot be empty !",
},
{
pattern: /^(([^<>()[\]\\.,;:\[email protected]"]+(\.[^<>()[\]\\.,;:\[email protected]"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
message: " Please enter the correct email address ",
},
],
边栏推荐
- 让人深思:句法真的重要吗?邱锡鹏组提出一种基于Aspect的情感分析的强大基线...
- WebRTC实现简单音视频通话功能
- Overview of radar communication integrated waveform design
- Chengying, kangaroo cloud one-stop fully automated operation and maintenance steward, is officially open source
- OpenAtom OpenHarmony分论坛,今天14:00见!附大事记精彩发布
- 异构计算技术分析
- Customized modification based on jira7.9.2
- php生成文字图片水印
- antd中table hover上去的背景色样式修改
- Time and power allocation method to ensure fairness in sensor fusion system
猜你喜欢

厉害了!VMware ESXi安装记录,附下载

深度解析:什么是Diffusion Model?

The core concept and fast practice of shardingsphere

gyp ERR! configure error. gyp ERR! stack Error: gyp failed with exit code: 1

Use__ slots__ And__ dict__ To save space (it's simply a qualitative leap, and leetcode's personal test is effective)

ECCV 2022 | 同时完成四项跟踪任务!Unicorn: 迈向目标跟踪的大统一

Iptables prevent nmap scanning and binlog explanation

Document intelligent multimodal pre training model layoutlmv3: both versatility and superiority

异构计算技术分析

MySQL log management, backup and recovery
随机推荐
MySQL数据表的高级操作
Compete for the key battle of stock users and help enterprises build a perfect labeling system - 01 live review
The open source project Taier version 1.1 was officially released, and the list of new functions is fast
基于Spark封装的二次开发工程edata-base,介绍
Chunjun supports DDL conversion and automatic execution of heterogeneous data sources - dtmo 02 review (including course playback + courseware)
Awesome! VMware esxi installation record, with download
Recruit top talents! The "megeagle creator program" of Kuangshi technology was officially launched
Set up Samba service
学习笔记-微信支付
The largest square of leetcode (violence solving and dynamic programming solving)
kgdb调试内核无法执行断点及kdb-22:Permisson denied
Apache22 and opencms9.5 integrated configuration
PyQt5快速开发与实战 4.2 QWidget
Customized modification based on jira7.9.2
Symmetric encryption and asymmetric encryption
正则form表单判断
Detailed explanation of status code meaning
学习笔记-uni-app
MySQL 索引、事务与存储引擎
How to modify the strict mode under MySQL so that adding new users by inserting user table is successful