title: Matching multiple patterns
body: <p>I want to see, if <code>"001"</code> or <code>"100"</code> or <code>"000"</code> occurs in a string of 4 characters of <code>0</code> and <code>1</code>. For example, a 4 character string could be like <code>"1100"</code> or <code>"0010"</code> or <code>"1001"</code> or <code>"1111"</code>. How do I match many strings in a string with a single command? </p>
  
  <p>I know grep could be used for pattern matching, but using grep, I can check only one string at a time. I want to know if multiple strings can be used with some other command or with grep itself.</p>