wash one's brain out with soap

Etymology
From the idea of washing one's mouth out.

Verb

 * 1)  To remove or erase unwanted images from one's mind.