i have this string : 4.5 von 5 Sternen.
My desired output : 4.5/5
What I tried entry.rating.replace(/[a-z A-Z]/g , '/'); Which resulted in 4.5/5/ I dont need that extra slash just the one in the middle dividing the two numbers. I would love some help right now . Thanks in advance.
/[a-z A-Z]+/g