Text this: Dynamical Purification Phase Transition Induced by Quantum Measurements