title: Finding exact words in a string
body: <p>I have a list of links to clothing websites that I am categorising by gender using keywords. Depending on what website they are for, they all have different URL structures, for example...</p>
  
  <blockquote>
    <p>www.website1.com/shop/womens/tops/tshirt</p>
    
    <p>www.website2.com/products/womens-tshirt</p>
  </blockquote>
  
  <p>I cannot use the .include? method because regardless of whether it is .include?("mens") or .include?("womens"), it will return true. How can I have a method that will only return true for "womens" (and vice versa). I suspect it may have to be some sort of regex, but I am relatively inexperienced with these, and the different URL structures make it all the more tricky. Any help is much appreciated, thanks!</p>