Regex: Select all files that contain blank spaces between tags



  • hello. I have this type of tags:

    `</p>`
        
    CONTENT.....
    
    `<!-- * * * * *ALL LIKES * * * * * --> `
    

    and

    `</p>`
        
    
    `<!-- * * * * *ALL LIKES * * * * * --> `
    

    I want to select all files that contain blank spaces between </p> and <! -- tags (the second example above)



  • @Vasile-Caraus

    You have been doing regular expressions long enough to know that this will match your desired text and not your undesired text:

    `</p>`\s+`<!--
    

    Make it longer if you want with the * * * * *ALL LIKES * * * * * --> text at the end…

    select all files

    If that means anything besides “put all hits in the Find-result panel” then please elaborate.



  • Thanks a lot, Scott:

     </p>\s+<!--

Log in to reply