<?php preg_match_all("/.*(user1).*(user2).*(user3).*(user4).*(user5).*/", "user1 user2 user3 user4 <> user5", $matches); echo "<pre>"; print_r($matches); echo "</pre>";
You have javascript disabled. You will not be able to edit any code.