regexSearch

Modified on Wed, 05 Apr 2023

Use this function to return the first index of the match for the `pattern` in the `input` string. Return `-1` if there is no match.

Syntax

regexSearch (input text, pattern, flags)

Returns

Return ValueDescription
Text
Return the resulting text