The code in the previous reply is the most simple solution, but maybe you should also check if it's actually a link (url inside an <a href="" tag), that it's not set to nofollow, etc.