<?php $text = "I went to the dog park yesterday and saw @dog4 playing with @dog8 and @dog3 drinking water -- poor @dog33."; preg_match_all('/@(\w+)/', $text, $mentions); var_export($mentions[0]);
You have javascript disabled. You will not be able to edit any code.