remove activemerchent dependency and bring in the regexs