There\'s a lot of answers on SO already regarding this.
const s = "500italic"; const split_string = s.split(/(\\d+)/);
The current