How to disable/unlink the url's from description of text?

I have one web page to collect the data from the user.
In this page one field is related with a text area field asking the user to fill it.
But how to check/validate the text area field after submitting the form from user…
If is there any URLs or any http:// is there in the text area field we have to remove it before inserting it into the database table…

I want help or suggestions regarding this problem…

Thanking you…

if( isset($_REQUEST['textarea']) )
{
   $neat_content = $_REQUEST['textarea'];
   $neat_content = str_replace('http://','',$neat_content);
}

Well, if you just want to get rid of all HTML tags, that’s an easy fix: PHP’s strip_tags function. Otherwise, you’ll have to get fancy with [URL=“http://php.net/manual/en/function.preg-replace.php”]regex. From the [URL=“http://php.net/manual/en/function.preg-match.php”]preg_match comments:

<?php
    $regex = "((https?|ftp)\\:\\/\\/)?"; // SCHEME
    $regex .= "([a-z0-9+!*(),;?&=\\$_.-]+(\\:[a-z0-9+!*(),;?&=\\$_.-]+)?@)?"; // User and Pass
    $regex .= "([a-z0-9-.]*)\\.([a-z]{2,3})"; // Host or IP
    $regex .= "(\\:[0-9]{2,5})?"; // Port
    $regex .= "(\\/([a-z0-9+\\$_-]\\.?)+)*\\/?"; // Path
    $regex .= "(\\?[a-z+&\\$_.-][a-z0-9;:@&&#37;=+\\/\\$_.-]*)?"; // GET Query
    $regex .= "(#[a-z_.-][a-z0-9+\\$_.-]*)?"; // Anchor
?>

Then you call the preg_replace function:

<?php
preg_replace($regex, '', $text_to_check);
?>