Regular Expressions (Tools/APIs)
Background Information
Regular expressions are a short and flexible way to match strings, so that you can locate particular characters, words, or patterns of characters.
Available Tools
Returns the position of the first match of a regular expression in a string. See $LOCATE and Regular Expressions.
Returns a boolean value depending on whether a string matches a regular expression. See $MATCH and Regular Expressions.
Creates an object that does pattern matching using regular expressions. The regular expressions come from the International Components for Unicode (ICU). The ICU maintains web pages at http://www.icu-project.orgOpens in a new tab.
For details, see Regular Expressions.
Availability: All namespaces.
Notes
The ObjectScript pattern matching operator is also quite flexible, but does not provide the full range of syntax given by regular expressions. See the Pattern Matching reference page.