Python: use regular expression to remove the white space from all lines

Viewed 77295

^(\s+) only removes the whitespace from the first line. How do I remove the front whitespace from all the lines?

6 Answers
Related