The input file has this content
you have to identify (http://third-view.herokuapp.com/)
and I want to remove the URL, the desired output being
you have to identify ()
but the Sed command below also removes ')' parenthesis.
sed -i -e 's!http[s]\?://\S*!!g' file