cant, i will be pulling 120 metrics and each of them will have a different fail code . am looking for code that can only extract that subset of characters after the string FAIL, so that i don’t have to repeat the code 120 times
I’m not sure (you’ll have to test it for your example) but I think the same regex would work without parenthesis in the first group. .*_FAIL_(.*?)_(.*)
Regex’s not my specialty, so I don’t know either what happens, but it worked for me