Trim excess symbols like emoji etc on the end of link/id