title: Ignore specific occurrence of string while replacing
body: <p>I'm trying to parse a database and replace ":" with another delimiter such as "+delimiter+". The problem with this is this specific database has a hash:salt combo. Some of the salts contain extra ":"'s and some don't. How would I go about replacing all ":"'s and ignoring the ones in the hashes</p>
  
  <p>Example:</p>
  
  <pre><code>1:john:john@john.com:127.0.0.1:341b4d30d4f5bb31f291633e0c97a8ba:J:|
  </code></pre>
  
  <p>I want to ignore the colons in:</p>
  
  <pre><code>341b4d30d4f5bb31f291633e0c97a8ba:J:|
  </code></pre>
  
  <p>But I want to replace the other colons with "+delimiter+"</p>