Regular Expressions with Indian Characters

I wonder if it is possible to write a regular expression for Indian characters? I want to check if a given character is an Indian letter or number. I found these two questions:

What are the Unicode ranges for Hindi-emphasized characters?

what is the range for the Hindu-Arabic (ARABIC-INDIC) num ut8 from 0 to 9

so I tried this: \ x {0600} - \ x {06ff}

But if I look for this text (in OpenOffice): http://pastebin.com/mDHL69XH with this: \ x {0600} - \ x {06ff} nothing was found ...

+4
source share
1 answer

Well it should be

[\u0900-\u097F]+// \uFFFF format supported by Java,.net 

or

 [\u{0900}-\u{097F}]+// \u{FFFF} format supported by perl,pcre 

or

 \p{Devanagari}//not widely supported 
+8
source

All Articles