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 Value | Description |
---|---|
Text | Return the resulting text |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article