I'm looking for a way to find links with the "colorbox-load" class like this...
<a class="colorbox-load" href="http://www.youtube.com/watch?v=hYVGKdop63Y?fs=1&width=640&height=480&hl=en_US1&iframe=true&rel=0">Kendra Grittani on stage at Koerner Hall (broken)</a>
...and using jquery I want to replace every instance in the href tag of "youtube.com/watch?v=" with "youtube.com/v/".
This is what I have so far, but I'm not sure how to do the find and replace.
$("a.colorbox-load").attr("href", "http://www.youtube.com") {
var text = $(this).text();
text = text.replace("youtube.com/watch?v=", "youtube.com/v/");
$(this).text(text);
});