JavaScript - Change color of text based on regular expression
===

I'd like to be able to search the contents of a `textarea` with a specific regular expression and change the font color (within that same `textarea`) of the text that matches the search. Assume I have a submit button that will call a JS function that:

1. Creates a variable with the value of the `textarea`
2. Creates a variable with my regex search object
3. Searches the `textarea.value` with the regex string and changes the font color of all matches 

Is this possible?

