BotPro,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script>
window.addEventListener('DOMContentLoaded', function() {
var urls = document.getElementsByTagName('a');
for(var i = 0;i<urls.length;i++){
if(urls[i].text.indexOf("url") + 1){
var href = document.createTextNode(urls[i]) ;
document.body.appendChild(href)
}
}
});
</script>
</head>
<body>
<a href="eeee">test</a>
<a href="cccc">url</a>
<a href="aaaa">url</a>
</body>
</html>