This code below works prefectly as long as the $string, contains any of the strings exactly as in the array. But what if the $string has "camera digital" or "player dvd" (same words, but different order from the array) how can I alter the regex to make itmatch as long all the words are there, independent of the order?

PHP Code:

[] = "stereo";
$product_array[] = "dvd player";
$product_array[] = "digital camera";

$product_array as $one_product)
if (

Thank you for any input....