====== IsRegExMatch(text, regex_text) ====== Category: Text function \\ =====Description===== This function determines if //text// matches the regular expression ("RegEx") pattern //regex_text// and returns TRUE if it does. Otherwise, it returns FALSE. \\ =====Arguments===== ^Argument^Type^Description^ |text|Text|The text value to test against the //regex_text// RegEx pattern.| |regex_text|Text (RegEx pattern)|The string pattern to search for within //text//.| **Return value type:** Boolean (TRUE/FALSE) \\ =====Remarks===== EasyMorph uses the [[https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference|.NET regex language]]. \\ =====Examples===== isregexmatch('1234', '^\d{4}$') //Returns TRUE isregexmatch('12345', '^\d{4}$') //Returns FALSE isregexmatch('11-2233', '\d{2}-\d{4}') //Returns TRUE isregexmatch('112233', '\d{2}-\d{4}') //Returns FALSE \\ ===== See also ===== * [[syntax:functions:regexmatch|RegexMatch(text, regex_text)]] * [[syntax:functions:regexreplace|RegexReplace(text, replacement_text, regex_text)]]