title: Check if a string contains multiple items, separated by comma or space?
body: <p>I want to allow users to input multiple strings, separated by comma or space, and then check if a referring URL contains any of those strings.</p>
  
  <p>For instance, someone may only want a widget to show up on their <code>/contact, /support, /about</code> pages.</p>
  
  <p>So then I'd want to do something like this to check if the URL contains any of those strings...</p>
  
  <pre><code>ref = "http://example.com/contact"
  
  ref.include?('/contact, /support, /about')
  </code></pre>
  
  <p>Since what we're checking against would be input by the user, ideally the strings could be comma or space-separated.</p>