oldhaven/php/tmp/test.php
System Administrator 78da6e4f11 Init ci
2011-03-31 06:01:16 +04:00

7 lines
127 B
PHP

<?php
$name = 'Hey, J.o-hN PArk\'em "all 21"';
preg_match_all('/[a-z0-9]/Ui', $name, $m);
echo strtolower(implode($m[0]));