Update links after URL change

What's the best way to ensure your links are up to date? I recently moved my development site (newpinn.islandcloud.ca) to the live site (pinnacleoffice.ca). But I'm noticing that some links are hard coded to the old site.

Whats the best solution for this?