Community
    • Login

    Find in Files filter, include AND exclude combined

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 703 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jason CarltonJ
      Jason Carlton
      last edited by

      When using Find in Files, I would like to have a filter that will tell it to scan PHP, JS, CSS, CGI, and LIB, but ignore anything in the “backup” directory.

      I thought this would work, but it doesn’t:

      *.php *.js *.css *.cgi *.lib !*backup
      

      I’m guessing that this assumes that these are all “OR” delimited. So then I tried these:

      !*backup && (*.php *.js *.css *.cgi *.lib)
      !*backup* && (*.php *.js *.css *.cgi *.lib)
      

      but it still returned files that were in the backup directory.

      Any other suggestions?

      Terry RT PhillipeP 2 Replies Last reply Reply Quote 0
      • Terry RT
        Terry R @Jason Carlton
        last edited by

        @Jason-Carlton said in Find in Files filter, include AND exclude combined:

        I thought this would work, but it doesn’t:

        Did you read the online manual about the specific requirements of this tab? Try looking at this section of the manual. Ver 8.2 and better will allow what you need, but you must define it correctly.

        Terry

        1 Reply Last reply Reply Quote 2
        • PhillipeP
          Phillipe @Jason Carlton
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors