<form action="/phpchecks.php" enctype="multipart/form-data" > <label for="ema">Email</label> <input type="text" name="ema" pattern="/^[w-.]*[w.]@[w.]*[w-.]+[w-]+[w].+[w]+[w $]/" ><br><br> <input type="submit"> </form>