Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

282.Advanced search and replace -- How to batch change a lot of xml files, adding all <ID> by 1?

User: editor -- 2008-10-17          << 281  283 >>
Hits: 3574
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to batch change a lot of xml files, adding all <ID> by 1?
Input Sample:
1.xml ...<ID>333</ID>... 
2.xml ...<ID>334</ID>... 
...
Output Sample:
1.xml ...<ID>334</ID>... 
2.xml ...<ID>335</ID>... 
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-h open "replace" dialog 
enter "Search for Pattern" as: 
 
enter "Replace with Pattern" as: 
 
2. click "Batch" button 
click "Pick Files" to select mulitple files, or click "Search files" to search mulitple files for processing 
3. if you want to change output filename, change "set output filename" to new rule like  
4. click "Batch Replace", done!
Download Script:  scripts/282.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to batch change format of multiple files? (63%)
How to batch change binary files, change all bytes 0x2348  to 0x3032? (60%)
How to batch rename mp3 files by adding artist name behind? (58%)
How to batch uudecode a lot of files? (58%)
How to batch change many html files from iso-8859-1 to utf-8? (57%)
How to batch change html filenames with name enclosed by <strong> </strong>? (57%)
How to batch rename files by replacing all spaces with underscore? (55%)
How to batch rename text files by adding the value of file content to filename? (55%)

Check Demo of Advanced search and replace
Keywords:
xml files  xml  xml file  adding  process  pick  rule  set output filename  filename  new  search and replace xml batch  batch change xml  batch search and replace xml  xml batch replace  batch replace xml  replace xml batch  xml files search and replace  batch xml