Open topic with navigation

# 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).

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm