simple-regex-matcher(a,b)


Returns the first match from a text a with the regular expression b.

For multimatches please use regexExtract(value, regex, map, (optional) regex groupnumber for key, (optional) delimiter).

Parameter Description


Parameter

Description

a

The text to which the regular expression is applied.

b

The regular expression.

Example


Parameter a

Parameter b

Result

This is a text1 and a text2.

a text.

a text1