Question: Removing extra spaces in a string

Hi, If a sentence (as a string) is given with uneven number of spaces in it, how can we smooth it out so that every word is followed by exactly one space. I think this would be solved by Regular Expression in patmatch, but exactly I don't know. Kindly help me. Thanks.
Please Wait...