JS Regex Word przed słowem
var ar = "1 - 8 of 8 items".split(/[^\d]+/)
Borma
var ar = "1 - 8 of 8 items".split(/[^\d]+/)