I don’t think this is n8n’s issue. Your regex and sample input string only yield 3 results. Try to work out your regex in an isolated regex tester/analyzer and then put it in the n8n code block when you have it working correctly.
2 Likes