quecoder Posted July 18, 2008 Share Posted July 18, 2008 Hello How can I match Arabic letters , ... they are located between 0621 to 064A in the Unicode code points .. can I use \u or \x ? Using preg functions. . PCRE Quote Link to comment https://forums.phpfreaks.com/topic/115365-solved-help-matching-arabic-letters-or-unicode-from-0621-to-064a/ Share on other sites More sharing options...
effigy Posted July 18, 2008 Share Posted July 18, 2008 /([\x{0621}-\x{064A}])/u Quote Link to comment https://forums.phpfreaks.com/topic/115365-solved-help-matching-arabic-letters-or-unicode-from-0621-to-064a/#findComment-593412 Share on other sites More sharing options...
quecoder Posted July 20, 2008 Author Share Posted July 20, 2008 /([\x{0621}-\x{064A}])/u IT WORKS ... Thank you effigy !!! Any one tries to use this regex, don't forget to use the proper encoding when saving the file ...( ex : UTF-8 ) Quote Link to comment https://forums.phpfreaks.com/topic/115365-solved-help-matching-arabic-letters-or-unicode-from-0621-to-064a/#findComment-594783 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.