3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $search_term = 'cloudhearts24@hotmail.com'; preg_match_all('/"(?:\\\\.|[^\\\\"])*"|\S+|\\\\@+|\-+/', $search_term, $matches); print_r($matches);
based on oUssL
Output for 5.6.0 - 7.3.0alpha1
Array ( [0] => Array ( [0] => cloudhearts24@hotmail.com ) )