Hi all
I'm trying to remove the url's from strings, generated by tweets (using twitter4j) I've been trying all sorts of things with no luck.
So Let's say I have a string containing
"Hello, follow me! http://google.com"
or
"This is a tweet with an instagram photo https://instagr.am/blablabla"
I want to strip just the url from that string, but that url may be anything.
I've been trying things with regex, and other instructions I've found on the web, but I'm really lost. Could anyone point me in the right direction?