📅  最后修改于: 2022-03-11 14:57:08.105000             🧑  作者: Mango
String fullText = "Hello world , Wassup? , good moRNING";
String singleWord = "hello world";
boolean find;
if (fullText.matches(singleWord)) {
find = True;
}