/<a\s*href/i
function checkForLinks(item){ if (item.getValue().match(/<a\s*href/i)){ alert("hyperlink found"); return false); } return true;}