“To regret” in Chinese is 后悔 (hòuhuǐ).
我后悔当老师。
I regret becoming a teacher.
Example sentence from Tatoeba (CC BY 2.0).