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
Input | Data Type | Description |
Input1 | String | Data |
Input2 | int | Sets the Offset property. (optional) |
Input3 | String | Sets the RegExp property. (optional) |
Output
Output | Data Type | Description |
Output1 | int | The index at which the regular expression pattern is found. |
Property
Name | Property Type | Description |
RegExp | String | The regular expression. |
CaseInsensitive | choice | Defines 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
|
|
Offset | int | The offset from the beginning of the input stream's string from which the regular expression pattern matching is to start. |
Topic