Python RE question - proper state initial formatting
<p>I have a string that I need to edit, it looks something similar to this:</p>

<pre><code>string = "Idaho Ave N,,Crystal,Mn,55427-1463,US,,610839124763,Expedited"
</code></pre>

<p>If you notice the state initial "Mn" is not in proper formatting. I'm trying to use a regular expression to change this:</p>

<pre><code>re.sub("[A-Z][a-z],", "[A-Z][A-Z],", string)
</code></pre>

<p>However, re.sub treats the second part as a literal and will change Mn, to [A-Z][A-Z],. How would I use re.sub (or something similar and simple) to properly change Mn, to MN, in this string?</p>

<p>Thank you in advance!</p>
