VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    Using Notepad++ I can find and delete a line of text in a subtitle.srt file.
    I've tried to figure a way of inputting two lines of text , to no avail, so I input the first line and let Notepad++ run through a batch of .srt files,delete the offending line, then input the second line and let it run through again.
    This works good, except I would like it to take multiple lines as input to search and delete.
    Anyone found a way - maybe a bat file using notepad++?




    1
    00:00:06,000 --> 00:00:12,074

    Someone needs to stop Clearway Law.
    Public shouldn't leave reviews for lawyers.
    Quote Quote  
  2. put \r\n between those two lines, for example, if you search for:
    Someone needs to stop Clearway Law.
    Public shouldn't leave reviews for lawyers.

    you put in find window:
    Someone needs to stop Clearway Law.\r\nPublic shouldn't leave reviews for lawyers.
    But you need to check option Extended(\n,\r,\t....) in the Find window.
    Quote Quote  
  3. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    Great, it works.
    So a carriage return \r followed by a line feed \n and the program continues to look for the next line?
    I've been downloading many subtitles to add to TV recordings and that cryptic line shows up at different times.
    Many thanks.!!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!