Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1038.Advanced search and replace -- How to increase timestamps by a step of 0.01 seconds?

User: firewolf -- 2012-12-19          << 1037  1039 >>
Hits: 1471
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
Add a time stamp, and +0.01úČthe first and the last line of each paragragh remain unchanged, subtitles remain unchanged
Input Sample:
[00:51.38]abc
[00:53.54]xyzy
aaafgh
[00:55.72]xxxx
ui
[00:58.04]ff

[01:01.11]tty
[01:06.83]imbhy
aaabbb
[01:10.69]www
Output Sample:
[00:51.38]abc
[00:53.54]xyzy
[00:53.55]aaafgh
[00:55.72]xxxx
[00:55.73]ui
[00:58.04]ff

[01:01.11]tty
[01:06.83]imbhy
[01:06.84]aaabbb
[01:10.69]www
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
Following procedure will add a timestamp in front of lines without timestamp, the timestamp is 0.01 second ahead of previous timestamp.
1. ctrl-o open text file
2. ctrl-h open 'replace' dialogue
* set 'unit' to 'Line'
* set 'replace with pattern' to:

* click 'advanced' tab, set 'run following for each matched unit' to:

3. click 'replace', done.
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Screenshot 2:  Replace_Advanced_Window


Similar Examples:
How to remove the timestamps at the start of line in lrc files? (61%)
How to rename files to the first and last line of file contents? (52%)
How to batch rename files with the first word of file contents? (52%)
How to generate IE favorite items from a list of url addresses? (49%)
How to batch rename text files with random line from file contents? (49%)
How to batch rename files to the first 8 characters of the second line of file content? (48%)
Is there a way to batch rename files with the first line of the file content? (48%)
How to batch replace files and save the result to new files? (47%)

Check Demo of Advanced search and replace
Keywords:
ddd  timestamps  paragragh  600  210  timestamp  seconds  increase  previous  times  second last line  text search replace increase  replace with previous line  add text to last line  add text last line  last lines  add the last line  add tab