show / hide menu

RegexValidate

This function is used to Return a boolean value indicating whether the matching text matches the regex pattern.

Syntax:
RegexValidate(Pattern,matchingText)
where
Pattern is Regex pattern.

Example:
MessageBox(RegexValidate(“[0-9]+”, “1234”)) will return true.
MessageBox(RegexValidate(“^[A-Za-z]+$”, “1234”)) will return false