Clean up algorithm to split commodity name