I have a script that generates text when a user press a button. This text is sent to an input box, so when I press the button some text appears in one input box.
I would like to know if there's any CSS property to style the color of all the "-" characters that appear in the input box dividing the numbers.
Example of the generated txt: "4 - 6 - 9 - 8 - 2"
In other words I want the numbers red and the "-" blue.
I would love to know how I can do this. I would be very much appreciated.