/ Gists / PHP Diacritics regexp
On gists

PHP Diacritics regexp

PHP

dia.php Raw #

<?php

if (preg_match('/[áčďéěíňóřšűőťúůýž]+/iu', $string)) {
    // obsahuje diakritiku
}