I am trying to filter a list to get matching item from a pattern with regex, I want to get next match if first pattern doesn\'t exist.
What I have now