/ Published in: PHP

A simple method of validating an email address using PHP and regular expressions
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
'/^[^\W][a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)*\@[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)*\.[a-zA-Z]{2,4}$/', $string)) { echo "example 3 successful."; }
URL: http://www.thejwalker.com
Comments
