console.log("file name file10".replace(/[a-z]+(d+)/, "20"));
output I get: file name 20
output I want: file name file20
I cannot understand how to use the 1 reference to replace only the numeric part.
May be something else has to be done to get the desired result which I cannot think.