$re = '/(\w+ ){4}people/m';
$str = 'This is a complex topic, which periodically comes up among IT-specialists, a lot has been said about it, but for "non-IT-specialists" a lot can be news. Both for those who want to "get into IT" and for those who by the nature of their work have to work together with IT services. Some things will be obvious to <> IT people, but not obvious to others. Sometimes because of their!=< lack of understanding, people make painful mistakes. Not only and not so much with their careers, but they bet on the wrong people in their business. So, let\'s break this issue down without emotion and in language that is understandable to non-specialists.';
preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0);
// Print the entire match result
var_dump($matches);
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for PHP, please visit: http://php.net/manual/en/ref.pcre.php