You are viewing a single comment's thread. Return to all comments →
Regex worked for me
if(Pattern.compile("["+s2+"]").matcher(s1).find()) return "YES"; else return "NO";
Seems like cookies are disabled on this browser, please enable them to open this website
Two Strings
You are viewing a single comment's thread. Return to all comments →
Regex worked for me