I'm working on the edit_hrefs function and trying to trim some characters from the $1 variable, can anyone help me out?
sOutput = sOutput.replace(/\b(http\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
//need to remove the first "http://" part of $1
"<a href=\"redirect.asp?p=n&l=$1\" target=\"_blank\">$1<\/a>");