jeudi 30 octobre 2014

How to find the word in the string, whether capitalized or small, if the text is not in English?


Vote count:

0




if the characters are in engish language - no have problem, but if the language is bulgarian - not woking


example:



$text = "Още нещо";
if (preg_match("/още/", $text)) {
echo "yes";
} else {
//print this
echo "no";
}


asked 54 secs ago







How to find the word in the string, whether capitalized or small, if the text is not in English?

Aucun commentaire:

Enregistrer un commentaire