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 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 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 ) 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
Archived
This topic is now archived and is closed to further replies.