Allows you to use a regular expression to search for information in a string. Use any value from the .NET RegexOptions enumeration, such as IgnoreCase and Multiline.

RegExMatch(1, 2, 3, 4)

1stringRequiredString to search
2stringRequiredRegular expression to use in the search
3stringRequiredName or ordinal of the matching group to return
4stringRequiredRepeating string parameter of regular expression options to use

The sample AMPscript below shows how to assign regular expressions and use the RegExMatch function to search a string for results.