Replace leading zeros with spaces
<p>I have a text file of multiple records. Each record has a field which has some number of leading zeros that I need to replace with that number of spaces. A record will look like this:</p>

<pre><code>A206   000001204   X4609
</code></pre>

<p>I need the record to look like this:</p>

<pre><code>A206        1204   X4609
</code></pre>

<p>I'm extremely unfamiliar with regex but the following regex seems to find the matches that I need:</p>

<pre><code>\b0+
</code></pre>

<p>However, I have no idea how to do the replacement. A ReplaceAll for Notepad++ would be awesome but I can also create a quick program in C#, Powershell, or Python if needed. Can anyone give me some pointers on the regex for this?</p>