정규식 사용시 // 사이에 정규식 작성

var str= 'zzzzzz 1 xxxxx. asdf 2 hhhhh 2.';
var splits = str.split(/(\\d)/);

console.log(splits);//Array ["zzzzzz ", "1", " xxxxx. asdf ", "2", " hhhhh ", "2", "."]

const reversed = splits.reverse();
console.log('reversed:', reversed);//"reversed:" Array [".", "2", " hhhhh ", "2", " xxxxx. asdf ", "1", "zzzzzz "]