info.textContent = info.textContent.replace(/.*/gi, "replaced"); if you are replacing something in the textContent you need to reassign. JS strings are immutable.
0
0
0
8
0