recursively deleting hashtag symbol