Objective Connector 12.13

# regex_search

The `regex_search` method performs a regular expression search on a string. This method returns a LuaRegexMatch object, rather than strings.

## Syntax

    regex_search ( input, regex [, case])

## Arguments

Argument | Description
--- | ---
`input` | (string) The string in which to search.
`regex` | (string) The regular expression with which to search.
`case` | (boolean) A boolean that specifies whether the match is case-sensitive. The match is case sensitive by default (`true`).

## Returns

(LuaRegexMatch).

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Objective Connector 12.13

Topic Title: regex_search