dblIsRegEx

bool dblIsRegEx (pattern,value)

Description

This function returns ‘true’ if the text is valid according to the RegEx expression, or ‘false’ if the text is not valid according to the RegEx expression.

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
pattern string The regular expression
value string The text to verify 


Return Type

bool

Example

Verify that the number entered is 10 digits only

dblIsRegEx("^[0-9]{10}$",Answer(CurrQues).ToString()) 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.