Here is the character set map iso8859-8 . The range E0 - FA appears to be reserved for Hebrew. You can check these characters in a character class:
[\xE0-\xFA]
For UTF-8, the range reserved for Hebrew is from 0591 to 05F4. So you can detect this with:
[\u0591-\u05F4]
Here is an example of regular expression matching in PHP:
echo preg_match("/[\u0591-\u05F4]/", $string);