title: How to use regex in String.contains() method in Java
body: <p>I want to check if a String contains the words "stores", "store", and "product" in that order, no matter what is in between them.</p>
  
  <p>I tried using <code>someString.contains(stores%store%product);</code> and also <code>.contains("stores%store%product");</code></p>
  
  <p>Do I need to explicitly declare a regex and pass it on the method or can I not pass a regex at all?</p>