Please try:
=TRIM(REPLACE(A1,FIND("http://",A1),IFERROR(FIND(" ",A1,FIND("http://",A1)),LEN(A1)+9)-FIND("http://",A1)+1,""))
if you're looking to remove URLS not just at end of sentence.
IMO the following edit from @Siddharth Rout provides a better solution than the above.
Non VBA / Non Formula Method
- Press CTRL + H to bring the
Find And Replace
Dialog Box. - In
Find What
, type "http://* " without the quotes. Notice there is a space after*
- Keep the
Replace With
empty. - Click
Replace All
- Now in
Find What
, type "http://*" without the quotes. Notice there no space after*
- Keep the
Replace With
empty - Click
Replace All
And you are done.