what is php regex for check if upload file name have german umlauts?
what is php regex for check if upload file name have german umlauts? file name : Screenshot_Erdös.png i tried below but not working if ( preg_match('(?<![äöüÄÖÜßw])([äöüÄÖÜßw]+)(?![äöüÄÖÜßw])', $file_name )){ $file['error'] = __( "WARNING: Invalid file name. German umlauts are not allowed.",…