I am using regex to capture hashtags from a string like this:
var words = "#hashed words and some #more #hashed words";
var tagslistarr = words.match(/#\S+/g);
console.log(tagslistarr);
this will return an array like this;
["#hashed", "#more", "#hashed"]
question: how can i remove the # hash sign from each of the array items?
this is what i would like in the end
["hashed", "more", "hashed"]