Alright, now that I've confirmed that preg_replace can work withUTF-8, I'm back to my original regex: $test="כאכ כ ככ ח";$test=preg_replace('/\bכ/u','ך', $test);print $test;print "<pre dir=\"rtl\">$text</pre>"; This _should_ change the letter "כ" to "ך" only if it is at the end ofa word. Can anyone push me in the right direction as to why that isnot happening? Thanks for any and all advice. Dotan Cohen http://what-is-what.comhttp://gibberish.co.ilא-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת; A: Because it messes up the order in which people normally read text.Q: Why is top-posting such a bad thing?