It depends on how comprehensive you want the matching process to be. You can try using something as simple as
str.replaceAll("http://[^\\s]+", "")
e.g.
System.out.println("Today,wheather is cold.But I want to out. "
+ "http://weathers.com..... And I will take a cup of tea..."
.replaceAll("http://[^\\s]+", ""));
Today,wheather is cold.But I want to out. And I will take a cup of tea...
If you want something more robust to match valid URLs, use a fuller URL regular expression:
/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/
For even more thorough matching, refer to this answer.