Fix ignore case flag for removing hashtag