title: Multiple pattern Matching in R
body: <p>For a multiple pattern matches (present in a character vector), i tried to apply <code>grep(paste(States,collapse="|), Description)</code>. It works fine, but the problem here is that </p>
  
  <p>Consider,</p>
  
  <pre><code>Descritpion=C("helloWorld Washington DC","Hello Stackoverflow////Newyork RBC")
  States=C("DC","RBC","WA")
  </code></pre>
  
  <p>if the multiple pattern match for "WA" in the Description Vector. My function works for "helloWorld **Wa**shington DC" because "WA" is present. But i need a suggestion regarding the search pattern not in the whole String but at the end of String here with DC,RBC.</p>
  
  <p>Thanks in advance</p>