extract links from search by hashtag or by word