Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

All Commands All String
Commands

REG_MATCH

This matches a string against a regular expression.

It will return TRUE or FALSE depending on the success of the match.

This command can have an {END_REG_MATCH} command.

In this case, the string in-between will replace the first parameter and the format will be {REG_MATCH} string {{END_REG_MATCH(parameters 2 onwards)}

This is particularly useful if the string is particularly long or contains commas.

Number Name Default Type Description
1 string String The string to be checked
2 pattern String The regular expression to match against
3 name String The name of the array variable to place the match results.
This parameter is optional.
Days Example
Days = 10
Order number Example
[0:Ref: 1234]
[1:Ref]
[Order:1234]
[2:1234]
Order Number = 1234
to add a Comment.