ConnectorLib Java 25.1
ConnectorLib Java SDK Programming Guide

# regex_search

Performs a regular expression search on a string. This function 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) Specifies whether matching is case-sensitive (default `true`).

## Returns

(LuaRegexMatch).

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ConnectorLib Java 25.1

Topic Title: regex_search