Drupal Connector 25.2
Drupal Connector Help

# 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 2025 Open Text
Version 25.2 | Last updated April 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 Drupal Connector 25.2

Topic Title: regex_search