Please enable JavaScript to view this site.

Take Command / TCC Help v. 28

@EMAIL[address] : Validate an email address.


@EMAIL uses the regular expression "^[\w-]+(\.[\w-]+)*@([a-z0-9-]+(\.[a-z0-9-]+)*?\.[a-z]{2,6}|(\d{1,3}\.){3}\d{1,3})(:\d{4})?$" to validate the address. This matches 99.99% of valid email address including ip's (which are rarely used). Allows for a-z0-9_.- in the username, but not ending in a full stop (i.e is invalid) and a-z0-9- as the optional sub domain(s) with domain name and a 2-7 char (a-z) tld.




echo %@email[]



echo %@email[bob!]