Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (substr_count($lines,"??")==0 && substr_count($lines,"�")==0) { // проверка на шлак в ключах
- if (substr_count($lines,"??")<1 && substr_count($lines,"�")<1 && substr_count($lines,"http://")<1) { // проверка на шлак в ключах
- preg_replace( '/[^\p{L}\p{Nd}\/0-9]+/u', '-', $string ) ; //http://habrahabr.ru/blogs/php/45910/
Add Comment
Please, Sign In to add comment