Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

401.Text file parser -- How to extract all image links from a html file?

User: editor -- 2010-01-20
Hits: 159
Type: Text file parser   
Search all Text file parser examples
Description:
How to extract all image links from a html file?
Input Sample:
content of html file:
....
<img src="http://...xxx.jpg">
.....
<img src="http://...yyy.jpg">
....
Output Sample:
http://...xxx.jpg
http://...yyy.jpg
...
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. ctrl-o open source html file
2. ctrl-h open 'Replace' dialog
* in search for pattern, enter:

* in replace with pattern, enter:

* uncheck "Print Unmatched Unit" option
3. click 'Replace' button.
4. ctrl-s save to target file.
Download Script:  scripts/401.rst.zip

Similar Examples:
Need to extract all links from html file (83%)
How to extract all IP address from a text file? (72%)
How to extract all links from a web page?   (70%)
How to extract all telephone numbers from a text file? (68%)
How to extract all the links and images from many web page files? (68%)
How to extract all email addresses from many text files? (66%)
How to batch extract specified lines from a text file? (66%)
How to extract/parse all http addresses from text/html file? (65%)

Check Demo of Text file parser