Only one president prior to Trump went through a divorce before taking office: Ronald Reagan. Reagan, who, like Trump, starred on TV before entering politics, split from his first wife, Jane Wyman before he ran. He remarried to Nancy Reagan who acted as the first lady for his 2-term presidency.
via