/ Published in: Regular Expression
Simple Regular Expression match strings.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Alphabetical = /^[a-zA-z]+$/ Alphanumeric = /^[0-9A-Za-z]+$/ Email = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/