of course it's possible, depending on the script you can use something like
Code:
if (!preg_match("/^(http?:\/\/+[\w\-]+\.[\w\-]+)/i", $some_value))
{
$some_value = '';
}
that will leave $some_value (ie any URL) empty. Of course you may change to something else, but it will look better this way.
you'd also use preg_replace() or ereg() and play with regex if you want to asign some specific value, there are many ways to do it.
This being said, you're supposed to use NOFOLLOW anyway
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
|