title: preg_replace() replace second occurrence
body: <p>This is what I do now:</p>
  
  <pre><code>if (strpos($routeName,'/nl/') !== false) {
      $routeName = preg_replace('/nl/', $lang , $routeName, 1 );
  }
  </code></pre>
  
  <p>I replace the <code>nl</code> with for ex. <code>de</code> . But now I want to replace the <code>second occurrence</code>. What's the easiest way to do this?</p>