Well, I am sure someone will think of something better, as I am not 100% sure of what you are trying to do.
Nevertheless, you might at least try this:
<?php
// items that are not allowed:
$disallowed = array('03-','04-','05-','06-','07-','08-','09-','012','013','016','017','019','E10','E20','E30','RM1','RM2','RM3','RM4','RM5','RM6','RM7','RM8','RM9','012-','013-','016-','017-','019-');
// posted values to check
$posted_values = array(1=>'Text_Box_1','Text_Box_2','Text_Box_3','Text_Box_4');
foreach($posted_values as $key=>$value)
{
if(!isset($_POST[$value]) || trim($_POST[$value]) == '')
{
die('Text box #'.$key.' must not be empty');
}
else
{
if(in_array($value, $disallowed))
{
die('This keyword is disallowed....');
}
}
}
// no errors yet, keep processing...
?>