title: -PHP Regular expression or strpos() in my condition?
body: <p>My question is:</p>
  
  <p><strong>Input:</strong> Thousands abbreviated message.</p>
  
  <p><strong>Output:</strong> Filtered message</p>
  
  <p><strong>Filter:</strong> ( (message has Alarm) or (message has Emergency) ) and (message has not Restore)</p>
  
  <p><strong>Examples:</strong> </p>
  
  <ol>
  <li><p>Ur001 General User Opening By User   (True)</p></li>
  <li><p>Panic Zone Alarm Security System Zn2 Zone 2 Name  (False)</p></li>
  <li><p>Keypad Panic Emergency Security System Ur1 Uer 1 Name   (False)</p></li>
  <li><p>Keypad Panic Emergency Restore Security System Ur1 Uer 1 Name   (True)</p></li>
  </ol>
  
  <p>I know there are bunch of similar question in their conditions.  Which way is better?</p>