The Regex block

The Regex block has been deprecated. It is not available in Postman Flows.

Regex block

The Regex block sends a regular expression that you specify.

Output

The Regex block's output port sends the specified regular expression.

Setup

Select the text box and enter a regular expression, then optionally select a modifier from the dropdown list.

Example

To see the Regex block in an example Flow, check out Flow Snippets: Regex.

You can embed the Regex block in the following blocks:

Last modified: 2024/10/16