How to Highlight a word in color in paragraph?

I have a textarea with a long paragraph and i want to look for the word that appear in the paragraph. This word might appear multiple time and i want to color the word that is found in the paragraph red.

i am current using INSTR to look for the word but i am sure there is a easier way to do this perhaps using REGEX.

Maybe have a look at this:

Kind soul send it to me (I think it might have been Kem a long time ago)

https://dl.dropboxusercontent.com/u/992591/REALbasic/Forum/bitbatbut.rb.zip

thanks… i will take a look at this…