I have dataset containing the string like this and I want to remove the all the urls from the it
http://google.com having trouble finding regex https://google.com for this case http // google com / test some gibberish https // google . com / test / test1 great http.//google.org
Now, I am using this regex pattern to find the all urls:
https?:?\s?\/\/\s?\S+
Now, ideally, it should capture all the urls such as in this case,
http://google.comhttps://google.comhttp // google com / testhttps // google . com / test / test1http.//google.org
but with the regex pattern I have, it is capturing only
http://google.comhttps://google.comhttp // googlehttps // google
Link to Regex.