<?php $pattern='<\b(?:apple|orange|pear|lemon|Goji berry)\b>i'; $phrase="I will buy an apple to do an applepie!"; preg_match_all($pattern,$phrase,$match); print_r($match);
You have javascript disabled. You will not be able to edit any code.