Extract URL’s from a text file
January 23rd, 2020
Input: .txt file with text and URL’s
Output: file with URL’s only.
I googled a lot but couldn’t find anything to do the job.
Please help.
You could use jdownloader and create a dlc / save linklist. Also, first result of Google:
http://pgl.yoyo.org/urlex/
http://pgl.yoyo.org/urlex/
Untested..
Or maybe:
http://www.nirsoft.net/utils/addrview.html
You could do it manually?
Some users puts links in a text file. It is a pain.
Hi, I need a program that extracts URL's from a .txt file.
Input: .txt file with text and URL's
Output: file with URL's only.
I googled a lot but couldn't find anything to do the job.
Please help.
You should upload some lines of your original file, that way it would be easier to help you
Use Notepad++….find with regular expression for url link; copy into new document.
Use Notepad++....find with regular expression for url link; copy into new document.
regular expressions were the first thing that I thought of when I saw this topic
you can do a find/replace with reg expr to delete all lines leaving the url’s.
something like this
search mode: regular expression
find:
(.*)(http:.*html)(.*)
replace:
\2
you might need to modify it slightly so it works with the urls