Forum Moderators: open
function striplinks( oldString )
{
return oldString.replace(/<[(a)¦(/a)].*>/g, "");
}
But I'm getting the error I mentioned above. What I'm attempting to do is look for a less-than, then either an 'a' or a '/a', then anything, then a greater-than.
Any ideas? Thanks, code-breaker