var uniqueList = string.replace(/\S+/g, (m,offset) => string.search( new RegExp(m,'i')) < offset ? '' : m);