js regex mot avant mot

var ar = "1 - 8 of 8 items".split(/[^\d]+/)
Borma