Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1052.Html text generator -- How to get the values from all lines of txt file and generate html files?

User: Rodrigo Caetano -- 2013-02-12          << 1051  1053 >>
Hits: 3955
Type: Html text generator   
Search all Html text generator examples
Description:
How to get the values from all lines of txt file and generates html files  
containing these values?
Input Sample:
Text file (source) 
Line 01: Value01 
Line 02: Value02 
Line 03: Value03 
Line 04: Value04
Output Sample:
Line 01 generates "001.html"  
containing: 
<some html code> 
Value01 
</some html code> 
 
Line 02 generates 002.html containing: 
<some html code> 
Value02 
</some html code>
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
Assume user want to put output file to d:\test\ folder 
1. ctrl-o open source text file 
2. ctrl-h open 'replace' dialogue 
* set 'replace unit' to 'Line' 
* set 'replace with pattern' to: 
 
* set the "Output File" entry to any filename inside d:\test\ folder, such as: 
 
* to the left of "Output File" entry, change the ">" symbol to "<<  Split by paragraph" 
3. click "replace", file 001.html, 002.html ... will be generated in d:\test\ folder. 

Screenshot 1:  Replace_Window


Similar Examples:
How to extract first line from multiple files and generate a new file? (64%)
How to re-group all lines in a file by a wordlist file? (62%)
How to insert mulitple text files into multiple html files? (62%)
How to extract all image links from multiple html files?  (62%)
How to delete all lines appear in file B from file A? (62%)
How to extract half of lines from a text file randomly? (61%)
How to sort all the lines of a text file randomly? (61%)
How to split a 100 line text file into 100 text files? (60%)

Check Demo of Html text generator
Keywords:
generate html files  split by paragraph  html text generator  inside  symbol  user  sym  paragraph  code  paragra  filename generator  text filename generator  html text file generator  text to html generator  text generator html  replace lines html  put filename in text file html  text left