How to underline numbers in an input or textarea using Javascipt

So I have a textarea inputbox and I want to know is there any way to underline the number values in this input box than using regualrExpressions(I don't really understand them).
here's my changeAll() function that does nothing really but get the value from the input box and it will change a different div element(my output box) to the newly underlined output: