I have a string list that consists of elements that have 3 sub-elements:
lis = {{"ac", "b", "ca"}, {"ab", "cde", "f,h"}, {"cd", "gh", "kl,"}};
I would like to delete each list member whose third element lacks a comma, which gives:
res = {{"ab", "cde", "f,h"}, {"cd", "gh", "kl,"}}
Thanks for any advice.