Top  Previous  Next

Scripts > Token definitions > Predefined tokens > Addresses


The following predefined tokens can be inserted in a project by a pop-up menu.




[\w\.-]+ \// local part

@ \

([\w-]+\.)+ \ // sub domains

[a-zA-Z]{2,4} // top level domain


A usual e-mail address. The complete syntax of an e-mail address is quite complex and cannot be reasonably described with a single regular expression.






(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\. \

(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\. \

(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\. \



IP address, all four numbers restricted to 0..255



The address expressions are from an article of Vasant Raj:


The expression for the e-mail address was simplified.


This page belongs to the TextTransformer Documentation

Home  Content  German