Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

102.Text file parser -- How to extract specified text from a web page? For instance, only keep line 10,12,14,...

User: editor -- 2008-05-14          << 101  103 >>
Hits: 375
Type: Text file parser   
Search all Text file parser examples
Description:
How to extract specified text from a web page? For instance, only keep line 10,12,14,...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
For example, extract all title of 'Replace Pioneer' examples from web:
1. ctrl-h open 'replace' dialog, set
1) set 'input file' at the left bottom to be:
 @http: means read from web and save to text.
2) set 'replace unit' to Line
3) set 'Unit number filter':

4) set 'search for pattern':

5) don't fill 'replace with pattern'
2. click 'Replace'
* Above mean remove all non-title lines(line 17,23,29... are titles)
Download Script:  scripts/102.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to add specified text to the begin and end of many text files? (51%)
How to extract all specific links from webpage? (50%)
How to extract email from webpage and remove duplicate? (49%)
How to read the text from a web page and change all letters to lower case? (49%)
How to read the text from a web page and change all letters to lower case? (49%)
How to search specified pattern in a text file and remove spaces in it? (48%)
How to extract all links from a web page?   (46%)
How to extract and join text from multiple files with user defined format? (45%)

Check Demo of Text file parser
Keywords:
101  replace pioneer examples  php  replace pioneer example  from web  keep  unit number filter  number filter  title  web  remove text to the left  remove text left  extract titles from text file  examples of text  parser extract left  extract title from text file  extract text from web page  extract number