VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date
    Jan 2017
    Location
    Italia
    Search Comp PM
    edit: SOLVED

    Hi everyone,

    I need to do a fairly simple thing, substitute al all the "\N" with spaces in a .srt file so that for exemple:

    Hi, how\N
    are you?

    becomes

    Hi, how are you?


    But when I search for them with Ctrl+F or Ctrl+H it finds nothing.
    Click image for larger version

Name:	Immagine.jpg
Views:	96
Size:	67.5 KB
ID:	42200
    How can I do this?

    Edit: I corrected /N with \N, but still nothing
    Last edited by ThePi7on; 2nd Jul 2017 at 16:30.
    Quote Quote  
  2. You have "In Field" set to "Style" instead of "Text".
    Quote Quote  
  3. Member
    Join Date
    Jul 2008
    Location
    Old Dominion
    Search Comp PM
    Using version 3.2.1, it finds it every time (using "Text").
    Quote Quote  
  4. Member
    Join Date
    Jan 2017
    Location
    Italia
    Search Comp PM
    Originally Posted by sneaker View Post
    You have "In Field" set to "Style" instead of "Text".
    Actually I thought that was a style element, now it works, thank you!
    Quote Quote  
  5. Hello everyone.. I got a question
    say I want to past the codes {\a6}or{\blur5} to all lines I have ... these features are not available in "style menu" so I can't create a style for them, how do I do that ? except of pasting them in every line which is annoying!

    note that when I select multiple lines and make any edit to one of them .. all the contents change to the first line
    Quote Quote  
  6. Try: "Edit"->"Find and Replace (CTRL+H)".
    Tick "Use regular expressions". Select "In Field": "Text".
    Find what: ^
    Replace by: \{\\a6}
    Click "Replace all"

    Google "regular expressions" for more information. Basically, "^" means "beginning of line". Because "\" and "{" have special meanings they should be "escaped" to "\\" and "\{".
    Image
    [Attachment 48459 - Click to enlarge]
    Last edited by sneaker; 19th Mar 2019 at 05:18. Reason: { is special character as well
    Quote Quote  
  7. Member
    Join Date
    Nov 2018
    Location
    Germany
    Search PM
    Just use the automation script HYDRA (I recommend binding it to a hotkey). If you’re doing a lot of work with Aegisub, it’d pay to acquaint yourself with all the other scripts described on that site as well.
    Quote Quote  
  8. thank you guys.. that helped a lot ..
    @sneaker .. it works fine this is much easier now ...
    Quote Quote  



Similar Threads