Forum Moderators: open
There's no way I know of to override a link tag -- you need to remove the anchor tag and the closing anchor tag to leave the previous link text in a not-linked form. But since you apparently need to do this by hand (you said you can't sort them in the script, if I understand correctly) you should be able to do it with no problem by editing the page source.
<a href="page.html" [b]onclick="return false;" style="color:black;cursor:default;"[/b]>link</a> A much better bet is to sort this out in the PHP code as tedster has suggested.