RegexpFind

The RegexpFind function performs regular expression pattern matching on the input string, and outputs the index at which the pattern is found.

The first character in the input string has an index value of 1. If the regular expression pattern is not found, 0 is output.

Input

Number of Connections: Min: 1/Max:3
InputData TypeDescription
Input1StringData
Input2intSets the Offset property. (optional)
Input3StringSets the RegExp property. (optional)

Output

OutputData TypeDescription
Output1intThe index at which the regular expression pattern is found.

Property

NameProperty TypeDescription
RegExpStringThe regular expression.
CaseInsensitivechoiceDefines whether the query distinguishes between upper and lower case characters.

true - does not distinguish between upper and lower case
false - does distinguish between upper and lower case
OffsetintThe offset from the beginning of the input stream's string from which the regular expression pattern matching is to start.

Topic