regular expression

A regular expression is a symbolic representation of a pattern of text. Regular expressions are widely used in UNIX text search facilities such as the grep command.

For example, the regular expression

[A-Z0-9._%-]++@[A-Z0-9._%-]+\.[A-Z]{2,4}

matches [email protected] and many other email addresses.

Applications

Support of these facilities is based on the Java implementation of regular expressions (java.util.regex.Pattern).

Related Topics IconRelated terms