Need Help Getting a RegEx Search to Work with a Variable

Hey Lionel,

Welcome to the forum!   :smile:

That's not the problem.

This clearly works:

Extract Email Address from Mail Message v1.00.kmmacros (7.3 KB)

So it's most likely that you've slipped up somewhere.

In the future please post your work, so people don't have to guess or recreate it to test.

This is easy to do using the Keyboard Maestro Editor's Share to Forum function, although it takes a practice run (or three) to get used to how it works.

How to Post Your Macro to the Forum

If you haven't read this it's worth a couple of minutes of your time.

Tip: How Do I Get The Best Answer in the Shortest Time?

-Chris