As I'm consuming Twitter API, I got several strings (tweets) containing links, that's it substrings beggining with 'http://'
.
How can I get rid of such links, that's it, I want to remove the whole word.
Let's say I have:
'Mi grupo favorito de CRIMINALISTICA. Ultima clase de cuatrimestre http://t.co/Ad2oWDNd4u'
And I want to obtain:
'Mi grupo favorito de CRIMINALISTICA. Ultima clase de cuatrimestre'
Such substrings may appear anywhere along the string