Skip to main content

Evaluate text against a regex.

POST 

/text/regex

Evaluates a given text against a provided regular expression and returns the matches.

Request

Header Parameters

    ipaas string

Bodyrequired

    textstringrequired

    The text to be evaluated.

    Example: The quick brown fox jumps over the lazy dog.
    expressionstringrequired

    The regular expression to evaluate against the text.

    Example: \b\w{4}\b

Responses

Success

Schema
    matchesstring[]required

    The list of matches found in the text.

    isValidRegexbooleanrequired

    Whether the provided regular expression was valid.