oldhaven/php/tmp/test.php

7 lines
127 B
PHP
Raw Normal View History

2011-03-31 06:01:16 +04:00
<?php
$name = 'Hey, J.o-hN PArk\'em "all 21"';
preg_match_all('/[a-z0-9]/Ui', $name, $m);
echo strtolower(implode($m[0]));