Regex Macros Misfiring on first try, working on 2nd

Yep, several:

  1. When you post an image of your Macro, please resize the panel in the editor to barely cover the width of the text of the Actions. Then make the image copy to post.
    • This will greatly help readability in the Forum, in most cases we will be able to read the image without clicking on it at all
    • I have to click on your image twice to read it all, and then I can see only 3-4 Actions on my large 27-in monitor.
  2. In the case of a long and complex macro, especially one about RegEx, it is much better to post:
    • Source string you want to match (use the Code Block)
    • The RegEx pattern you have
    • The desired result, also in a Code Block
    • An image of just the Regex Action where it fails.

Based on what you posted, we have no way to debug your RegEx.

If you'd like to post the info requested above, I'll take a look at it.

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

2 Likes