Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1264.Advanced search and replace -- How to insert first 7 characters of filename into the end HTML file?

User: Gray -- 2014-11-14          << 1263  1265 >>
Hits: 2828
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
Insert first 7 characters of $base filename into the end HTML file
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" window 
2. drag multiple html files from windows file browser  to "Batch Runner" window 
3. click "Fast Replace" button 
* click "add" to add new rule 
* set "search" to:  
* set "replace" to:  
4. make sure "reg exp" and "cross line" are checked, and click "start", done.

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to remove the first 10 characters of each line in text file? (64%)
How to batch insert part of the filename into the file content? (63%)
How to generate a list of picture names and put into a csv file? (60%)
How to batch insert the filename into the beginning of the file conent? (60%)
How to batch rename last part of filenames to the strings from a file? (58%)
How to insert mulitple text files into multiple html files? (57%)
How to insert a text file into the beginning of multiple text files? (57%)
How to randomly insert a word or phrase x number of times into text files? (56%)

Check Demo of Advanced search and replace
Keywords:
cross line  characters  how to insert  insert  rule  chars  character  base  html  htm  insert line into multiple files html  insert characters  add characters to end of multiple file  add filename to first line  add characters to end file  insert filename  insert html  match first characters