Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1259.Text file parser -- How to extract links from a web page and add the page title at the end?

User: Soly -- 2014-10-08          << 1258  1260 >>
Hits: 1444
Type: Text file parser   
Search all Text file parser examples
Description:
How to extract links from a web page and add the page title at the end of it?
Input Sample:
Web page stuff

<title>X</title>

Web page stuff and Links

<link>http://zzz</link>
<link>http://zzz</link>
<link>http://zzz</link>

Web page stuff
Output Sample:
http://zzz - X
http://zzz - X
http://zzz - X
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open web page file
2. ctrl-h open 'replace' dialogue
* set 'search for pattern' to:

* set 'replace with pattern' to:

* uncheck 'print unmatched unit' option
* click 'advanced' tab, set 'run following for each matched unit' to:

3. click 'replace', done.

Screenshot 1:  Replace_Window


Screenshot 2:  Replace_Advanced_Window


Similar Examples:
How to extract all links of a webpage periodically and save to file? (67%)
How to extract all links from a web page?   (67%)
How to extract all the links and images from many web page files? (62%)
How to extract all http links from multiple web sites in one time? (59%)
How to extract email from webpage and remove duplicate? (58%)
How to extract text from many webpage files and form a dabase file? (58%)
How to extract all specific links from webpage? (57%)
How to extract multiple webpages and save all text into text files? (57%)

Check Demo of Text file parser
Keywords:
extract links  extract link  var  links  else  web page  link  web  title  unmatched  print web  extract title  extract links from a web page to a file  extract links from web page file  extract links from web page  search links  add tab  web page search replace