In reply to David Liewehr.

That's easy: use the CDF to transform the random sample into the interval (0,1). This works for any initial distribution, not just the normal distribution.