I am creating a JavaScript application and I need a regex for the following thing:
I have different strings that look like:
"./resources/red_B.png" or "./resources/red_1.png"
I want to get the character after the red_ text, so I want a Regex that returns the character B or 1.
I am not a Regex star so I was wondering if someone knows the solution to the problem.