Don't use replace-regexp.
More awesomeness.