Let’s say I have test_23 and I want to remove test_.
test_23
test_
How do I do that?
The prefix before _ can change.
_
If you want to remove part of string
let str = "test_23"; str.replace("test_", ""); // 23
If you want to replace part of string
let str = "test_23"; str.replace("test_", "student-"); // student-23