Typically the best way is to not do cocaine.
Cocaine only stays in your urine about 3-4 days, so if you don't use for that amount of time, then you should be fine.
dont take it LOL
72 hours
Two weeks if the company is even testing for it. Most companies only test for the SAMHSA-5, which is pretty limited. http://www.erowid.org/psychoactives/testing/testing_info1.shtml#what