使用正则表达式验证注册页面(用户名,密码,确认密码,邮箱,手机号)

本文介绍如何利用正则表达式对注册页面的输入进行验证,包括用户名、密码、确认密码、邮箱和手机号的格式检查,确保用户输入符合规范。
摘要由CSDN通过智能技术生成
<style type="text/css">
body{
    margin:0;
    padding:0;
    font-size:12px;
    line-height:20px;
}
.main{
    width:525px;
    margin-left:auto;
    margin-right:auto;
    }
.hr_1 {
    font-size: 14px;
    font-weight: bold;
    color: #3275c3;
    height: 35px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #3275c3;
    vertical-align:bottom;
    padding-left:12px;
}
.left{
    text-align:right;
    width:80px;
    height:25px;
    padding-right:5px;
    }
    
.center{
    width:135px;
    }
.in{
    width:130px;
    height:16px;
    border:solid 1px #79abea;
    }

.red{
    color:#cc0000;
    font-weight:bold;
    }

div{
    color:#F00;
    }    
</style>
<script src="js/check.js">


</script>
</head>

<body>
<table class="main" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src=
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值