var str = "7831154D207D4E2A20515236393D263F7679157374841E5E"; console.log(str.match(/.{1,2}/g)); //78, 31, 15 ...