<?php $string = 'Hello @1a1a-1a1a and @2B2B2-B2 too'; preg_match_all("/(?<=@)[\w-]+/", $string, $matches); print_r($matches[0]);
You have javascript disabled. You will not be able to edit any code.