if ( index($string, 'new') || index($string, 'old') || index($string, 'number') || # etc. ) { # etc. }