>>887
var str = "12:34:56";

var re = /(\d+):(\d+):(\d+)/;
var ary = str.match(re);

console.log(ary);

正規表現 - MDN
https://developer.mozilla.org/ja/docs/Web/JavaScript/Guide/Regular_Expressions

正規表現なら、プログラム板の正規表現スレで、聞いた方が良いかも

>>890
速さでは遅延評価する、Lazy.js が速いらしいけど、
Lazy.js > Lo-Dash > Underscore

Lazy.js って使われているの?
version 0.4.2 だけど

Lo-Dash を使えば、ほぼすべての関数で、ネイティブと同等か、速い

.reduce: LoDash vs Underscore.js vs native
https://jsperf.com/reduce-lodash-vs-underscore-js-vs-native

Win10, IE11 でテストしたら、ネイティブの倍、速かった