Detecting Hebrew words in document via JavaScript
I'm a mostly-newbie when it comes to web development (though not to programming in general) so pardon any incorrect terminology. I want to build a script that, when added to an HTML page, detects each Hebrew word in the page and transforms that word into an HTML element, e.g. into a hyperlink with title. So, the following: <p>ראש הלשכה</p> Is transformed into: <p><a title="word 1" href="#">הלשכה</a> <a title="word 2" href="#">ראש</a></p> Make sense? So, I suppose the first order of business is detecting Hebrew words in a page. How would I go about doing this ? I don't know where to start,