title: Search and replace REL attribute with jQuery
body: <p>I want to search links and replace their <code>rel</code> attributes if the <code>rel</code> attribute currently equal <code>attachement</code>.</p>
  
  <p>The code I have so far is:</p>
  
  <pre><code>$("href").each(function(index) {
      $(this).attr('rel', 'group');
  });
  </code></pre>