Inhaltsverzeichnis

Match

The Match() function checks the input string for a match to a regular expression, see also Regular Expressions.

Syntax:

Match(string, regular expression)

Samples:

Match('test abc: 123', '.*abc')

returns true

Match('test abc: 123', '3.0$')

returns true

Match('test abc: 123', '\d+')

returns true

Match('value: 123 value2: ', 'value: \d+')

returns true

Match('value: value2: 121', 'value: \d+')

returns false