Javascript - how to find hebrew?
JavaScript does not support regex scripts like \p{InHebrew}
(or something similar). However, it does support Unicode escapes, so you could use a regex like:
/[\u0590-\u05FF]/
which will match a single Hebrew character.
See: http://unicode.org/charts/PDF/U0590.pdf and: http://www.regular-expressions.info/unicode.html
This will find hebrew letters encoded in the Hebrew Unicode code point range: [\u0590-\u05FF]