Email Regex Html Pattern

email regex html pattern
<input name="email" type="email" pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$" class="form-control" placeholder="Email*" id="email" required="">
pattern for email id in html
<form action="example.php">
<label for="email">Email:</label>
<input type="email" id="email" name="email"
title="Please Enter Valid Email Id">
<input type="submit">
html textbox pattern mobile number
<input type="text" name="Phone Number" pattern="[7-9]{1}[0-9]{9}"
title="Phone number with 7-9 and remaing 9 digit with 0-9">
html email regex
var email = /^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$/;

Leave a Comment