Remove trailing pound signs