php: user filter_var() and regular expressions to validate strings - http://dallascao.com/en...