It is currently March 28th, 2024, 9:27 am



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Stripped NFOs
PostPosted: January 28th, 2022, 1:11 pm 

Joined: January 16th, 2021, 9:56 pm
Posts: 42
Hello,

I used the replacement "[^\x00-\x7f]+" to strip NFOs, but, how can i delet the emtpy lines?
Code:
                         
                                 
                             
                                 
                                                             
                     
                                         
                                                 
                                             
                                             
                                             
                                   
                             

                                 
                             
                                 
                         
                                     
                                       
                                     
                                     
                                       
                                       
                                     
                                     
                                       
                                     
                         
                                 
                             
                                 
                         
                   
                   
                   
           
                                               
                                           
                                                     
                                                       
                                                   
                      Color Me Blood Red (1965)

                Release Date ...: 23.01.2022
                Runtime ........: 1 h 19 min
                IMDB Rating ....: 5.2/10 (1.8K votes)
                Notes ..........: there is nothing to say

                    https://www.imdb.com/title/tt0059044/

                RELEASE iNFORMATiON

                ViDEO / x264 core 164 r3081 19856cc

                Source .........: Blu-ray Disc
                Bitrate ........: 4 722 kb/s
                Resolution .....: 1280x720
                Video ..........: CRF 20

                AUDiO / LANGUAGE

                FORMAT             Channels      Bitrate
                DTS .... (CBR) ....   2    .... 1 509 kb/s [DE]
                DTS .... (CBR) ....   2    .... 768 kb/s [EN]
                                                   
                                                       
                                                     
                                           
                                               
           
                   
                   
                   
                         
                                 
                             
                                 
                         


Top
 Profile  
Reply with quote  
 Post subject: Re: Stripped NFOs
PostPosted: January 28th, 2022, 1:26 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Try this (make sure it's added after that first replacement):

Search for:
Code:
(?m)^[\s]{2,}\n


Replace with:
Code:
(leave empty)


Enable regex search.

Set "Apply to" -> NFO

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC