PHPverse 2025

Voting

: seven minus four?
(Example: nine)

The Note You're Voting On

itworkarounds at gmail dot com
13 years ago
You can use the following code to detect non-latin (Cyrilic, Arabic, Greek...) characters:

<?php
preg_match
("/^[a-zA-Z\p{Cyrillic}0-9\s\-]+$/u", "ABC abc 1234 АБВ абв");
?>

<< Back to user notes page

To Top