Returns Boolean true if the input string matches the regular expression defined by pattern; false otherwise. See also Regular expressions.
|Note:||When generating C++, C#, or Java code, the advanced features of the regular expression syntax might differ slightly. See the regex documentation of each language for more information.|
Built-in, C++, C#, Java.
The input string.
The regular expression to match.
The following mapping validates various person titles. Specifically, the mapping will output true for any of the following titles: Mr, Mrs, Mx, Ms, Miss.
If the input string is other than any of the titles listed above, the mapping outputs false.