Fixed hashtag match algorithm

We changed the criteria from match hashtag with that hashtag that has white space at the end to match any character after that hashtag.