I have a small problem with replace words in array. Ok, this my array:
var words = ['Category One Category One Clothes', 'Category One Category One Jackets'];
I want final result like this:
var result = ['Category One Clothes', 'Category One Jackets'];
Try with this method, but not working Removing duplicate strings using javascript