regexp to replace some number of characters?

Greetings. I have some input data that looks something like this: A NON-INDENTED LINE THIS LINE INDENTED THREE SPACES The number of spaces that some lines are indented will vary. I want to replace each leading space with a HTML-ish ' ' so that the second line becomes '   THIS LINE...'