Search and replace/delete timestamps in brackets []
-
I have a transcript that starts each line with a timestamp followed by 2 spaces and text, like this:
[00:00:00] Line 1
[00:00:02] Line 2How can I search and replace(delete) all those timestamps and one of the spaces? Would be great if the line break would also be deleted, but not necessary.
Regards
-
Select Search | Replace… from the main menu; then fill in:
Find what:
(\A|\R)\[.*?\]\h*
Replace with: a single space
Search Mode: Regular expressionthen click Replace All. (You’ll wind up with one extra space at the beginning of the file, which you can delete by hand.)