matchRegExp matchRegExp
Returns true if the string in the first parameter matches the regular expression in the second parameter. For more information, see this page.
Category
String
Function syntax
matchRegExp(<parameters>)
Parameters
Parameter
Type
string
string
regexp
string
Signature and returned type
matchRegExp(<string>,<string>)
Returns a boolean.
Example
matchRegExp("12345", "\\d+")
Returns true.
recommendation-more-help
8fe209f2-717b-4d36-904c-71a9532007af