title: Using the match method
body: <p>The below makes it so that if it finds both the word hello, and goodbye in String text, it will print true. My question is: Can you make it print something else? If so how? I want to make it print "Yes" as oppose to "True".</p>
  
  <pre><code>String text = "I said hello, and goodbye." 
  System.out.println(text.matches("(?i)^.*\\bhello\\b.*\\bgoodbye\\b.*$"));
  </code></pre>