i'm new to swift . i need to get list of word form an string that has prefix with #
. here is my string
"Thirty people are confirmed dead after the June 14 fire, but the total is expected to rise far higher. ... A man who posted pictures on #Facebook of the body of someone believed to have leapt to his death from the #Grenfell Tower #fire has been #jailed for three months"
i need flowing list of word :
["#Facebook","#Grenfell","#fire","#jailed"]
I spent lot of time but could not figure out how to achieve this.