bool dblIsRegEx (string pattern, string value)
Description
Determines if the "value" text match the Regular Expression pattern (Click Here to learn more on Regular Expression)
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
pattern | string | Regular Expression pattern |
value | string | Text string |
Return Type
bool
Example
Verify that the number entered is 10 digits only
dblIsRegEx("^[0-9]{10}$",Answer(CurrQues).ToString())
Comments
Please sign in to leave a comment.