title: Regex to match a few varieties of strings
body: <p>I'm wanting to use a regex to match this string, but have both "Cost" string be optional: Actual Cost Shipping Cost Item</p>
  
  <pre><code>$product = "Product ABC - Actual Shipping Item";
  if(preg_match("/(Actual Cost Shipping Item)|(Actual Shipping Item)/i", $product)){
     echo "Setting Actual Shipping=1&lt;br&gt;";
     $actual_shipping=1;
  }else{
     echo "Setting Actual Shipping=0&lt;br&gt;";
     $actual_shipping=0;
  }
  </code></pre>
  
  <p>Thanks for your help, my brain is totally fried!  Is there a better way of doing this?</p>