First of all, @mrpasini, as a long-time member of this forum, and often provider of other user's solutions, you should know what information to give us to help you.
- Either your uploaded Macro (best), or al least a link to the source macro.
So, just guessing, did you change the Replace "for" to Regex?
It works fine for me:
For the benefit of all readers:
Tip: How Do I Get The Best Answer in the Shortest Time?