Solved
Forum Discussion
richie
4 years agoCommunity Hero
Hey AAB,
Looking at your regex, it looks like it would match a date pattern and i use regex101 allthe time so i dont think the problem is there.
This is a guess by me, but i suspect the issue is probably related to your filename variable. I might be able to help fix it, but my coding is nowhere near as good as the groovy experts on here. Either way i'd suggest publishing all your groovy so people can see how youve defined your filename variable along with the logs of exactly what is happening when you execute your current code.
Ta
Rich
Looking at your regex, it looks like it would match a date pattern and i use regex101 allthe time so i dont think the problem is there.
This is a guess by me, but i suspect the issue is probably related to your filename variable. I might be able to help fix it, but my coding is nowhere near as good as the groovy experts on here. Either way i'd suggest publishing all your groovy so people can see how youve defined your filename variable along with the logs of exactly what is happening when you execute your current code.
Ta
Rich