title: How can I use a PHP regex to transform the contents of certain HTML tag attributes?
body: <p>I think I am right in asuming that RegEx can do this job, I'm just not sure how I would do it!</p>
  
  <p>Basically I have a number of links on my website that are in the format of:</p>
  
  <pre><code>&lt;a href="EXAMPLE/Example.html"&gt;Example&lt;/a&gt;
  </code></pre>
  
  <p>I need some code that will transform the href value so that it gets outputed in lowercase, but that does not affect the anchor text . E.g:</p>
  
  <pre><code>&lt;a href="example/example.html"&gt;Example&lt;/a&gt;
  </code></pre>
  
  <p>Is this possible? And if so, what would be the code to do this?</p>