From Longman Dictionary of Contemporary Englishwipe something from your mind/memorywipe something from your mind/memoryto try to forget an unpleasant experience → wipe
Examples from the Corpus
wipe something from your mind/memory• He cared nothing for his wife and daughter and they must wipe him from their minds.• And when he had done with her, she could wipe him from her mind, obliterate him.