Regex Find Matches List

Find matches of a regular expression in a string.

This block returns the first 20 matches. If you need more, use the Regex Find Matches Iterator block.

Inputs

Regex

The Regex you want to find in the string.

Example: ^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$

Source

String

The string you want to find Regex in.

Example: These are example emails: email@example.com, another-email@example.com, and yet-another-email@example.com

Outputs

Match 1

The first match that was found in the string. Blank if there was less than one match.

Example: email@example.com

Match 2

The second match that was found in the string. Blank if there was less than two matches.

Example: another-email@example.com

Match 3

The third match that was found in the string. Blank if there was less than three matches.

Example: yet-another-email@example.com

Match 4

The fourth match that was found in the string. Blank if there was less than four matches.

Example:

Match 5

The fifth match that was found in the string. Blank if there was less than five matches.

Example:

Match 6

The sixth match that was found in the string. Blank if there was less than six matches.

Example:

Match 7

The seventh match that was found in the string. Blank if there was less than seven matches.

Example:

Match 8

The eighth match that was found in the string. Blank if there was less than eight matches.

Example:

Match 9

The ninth match that was found in the string. Blank if there was less than nine matches.

Example:

Match 10

The tenth match that was found in the string. Blank if there was less than ten matches.

Example:

Match 11

The eleventh match that was found in the string. Blank if there was less than eleven matches.

Example:

Match 12

The twelfth match that was found in the string. Blank if there was less than twelve matches.

Example:

Match 13

The thirteenth match that was found in the string. Blank if there was less than thirteen matches.

Example:

Match 14

The fourteenth match that was found in the string. Blank if there was less than fourteen matches.

Example:

Match 15

The fifteenth match that was found in the string. Blank if there was less than fifteen matches.

Example:

Match 16

The sixteenth match that was found in the string. Blank if there was less than sixteen matches.

Example:

Match 17

The seventeenth match that was found in the string. Blank if there was less than seventeen matches.

Example:

Match 18

The eighteenth match that was found in the string. Blank if there was less than eighteen matches.

Example:

Match 19

The nineteenth match that was found in the string. Blank if there was less than nineteen matches.

Example:

Match 20

The first match that was found in the string. Blank if there was less than twenty matches.

Example: