How do I validate devnagari script in regex
Quote:To find out, if a string contains a Hindi (Devanagari) character, you need to have a full list of all Hindi characters. According to this website, the Hindi characters are the hexadecimal characters between 0x0900 and 0x097F (decimal 2304 to 2431).
The regular expression pattern needs to match, if any of those characters are in the set.
[\u0900-\u097F]+// \uFFFF format supported by Java,.net
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)