title: Is it possible to replace leading zeroes in a string with an equal number of spaces using replaceAll()?
body: <p>In Java, I'm trying to replace strings like "001.234" with "spacespace1.234". However, I'm a regex noob and I seem to be ending up with all leading zeroes replaced by a single space.</p>
  
  <p>I understand that I can do this easily with a loop but I'm trying to pick up regular expressions and appreciate any help :)</p>