I have a series of keywords I want to match against an item name to determine if it is a labor line item or not. How can I write the pattern regex so it matches them all in a more succinct block of code?
if(preg_match('/(LABOR)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(SERVICES)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Pull and Prep)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Supervision)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Coordination)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Disposal)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Handling)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Inspect)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Re-ship)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Storage)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Management)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Show Form)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Receive)/i', $Item[Name])){
$subtotal += $mysubtotal;
}elseif(preg_match('/(Paperwork)/i', $Item[Name])){
$subtotal += $mysubtotal;
}