Regex getting only the first match

I'm glad the reference helped you resolve your question.

From your macro:

I have a couple suggestions:

  1. Use Local Variables wherever possible when you don't need the Variable later.
    • This helps keep your KM Variable environment clean, and free of large Variables.
  2. When you are concatenating data, put the repeating Variable on the same line as the collecting Variable, followed by a linefeed.
    • Otherwise, you will have a blank line at the beginning of the list.
    • You can also use a manual RETURN instead of the token %LineFeed%

So, it might look like this:

image

I replaced

Your Variable    With
temp             Local__AllEmails
ExtractEX        Local__ExtractEX
1 Like