For example, I have an approved list of characters: "a", "b", and "c".
So if I had the string:
var string = "aaabc8abccc";
I would like the script to detect the fact that the "8" is not "a", "b", or "c" and output:
var output = "aaabc<span style='color:red;'>8</span>abccc";
How can I do this?