/
Gists
/ PHP Diacritics regexp
On gists
PHP Diacritics regexp
29.4.2021
PHP
dia.php
Raw
#
<?php if (preg_match('/[áčďéěíňóřšűőťúůýž]+/iu', $string)) { // obsahuje diakritiku }