I would like to know what command would:
select all URL in a file (i.e. recognize all addresses beginning with http or www from the beginning to the end and separate them from text or other data)
output them in a .txt file.
The idea is to perform next a wget -i on the .txt file. I need to properly select and output these URL in a .txt file as wget struggles to directly identify all URL in the raw file.