I need to get the first name with regular expression, but I'm not getting it right. Today I use the code like this:
<?php
preg_match('/[[:alnum:]]+/i', 'Alisson Acioli', $matches);
return $matches[0];
?>
Output: Alisson
When t...
asked by
29.12.2015 / 18:36