I want to take out all the punctuations and vowel marks and leave the consonants, the letters. I'm not sure if these are all or if there are more. But when I use the following code for some reason they all appear in a group together when printed out.
PHP Code:$strText=stripslashes(mysql_escape_string($textData[$tdid]));
$vm=array("ְ", "ּ", "ֵ", "ִ", "ׁ", "֖", "ָ", "ֱ", "ֹ", "ֵ", "ַ", "ׁ", "ֽ", "ֶ", "֣", "֑", "֥", "֥", "׃", "־", "֗", "֙", "֙", "֔", "֔", "׃", "־", "֗", "֙", "֙", "֔", "֔", "֧", "֛", "֨", "֤", " ׀ ", "ׂ", "֮", "֒", "ֲ", "ֲ", "֚", "֚");
for($i=0; $i<count($vm); $i++){
echo $vm[$i];
$strText=str_replace($vm[$i], "", $strText);
}


Reply With Quote