RegexPattern validates the data value against a regular expression pattern. The value must match this patter for it be considered valid.
Here are some examples of regular expressions:
See .NET System.Text.RegularExpressions.Regex class for more information on the syntax of regular expressions. The Regex class is used to perform the matching.
Note: If the data value being validated is not a string object then it will be converted to string before performing this validation.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2