>and you don't need the third one at all

<code>.+://.+/</code> doesn't match <code>http://www.example.com/resource.php</code>, for example, but as far as i understand, this url should not be modified