<?php $pattern = '/[^\w]fox\s/'; if (preg_match($pattern, 'The quick brown fox jumps over the lazy dog')) { echo "'fox' is present..."; } else echo "'fox' is not present..."; ?>
You have javascript disabled. You will not be able to edit any code.