Strip out leading or trailing commas and periods from each word before checking to see if they match the issue regexs.