Tady jsem něco našel, ale umí to pouze abcdef123456. Tento string abcdef123456abcdef ani tento strig abcdef123456abcdef123456 to neumí. Nejde to jednoduše doplnit?
var str = 'abcdef123456';
var left = str.slice(0, str.search(/\d/));
var num = str.replace(left, '');
console.log(left, num);