Community
    • Login

    search multiple string from a directory

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 179 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.
    • dinesh babu 0D
      dinesh babu 0
      last edited by

      hi,
      I have multiple XML files in a directory, I need to search two particular tags combination to be present in the same file from that directory.
      the two tags which i am searching are <menu id> and <maxcount>

      xml file will be like this below,
      <menu id>
      <some tags>
      </some tags>
      <maxcount></maxcount>
      </menu>
      i tried using this regular expression <menuid>|<maxcount> in findwhat i am getting the files with these combination but along with these others file having <menuid> or <maxcount> are also coming in search hits…but i wanted to search only these combination to be found in a file.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @dinesh babu 0
        last edited by

        @dinesh-babu-0

        There’s some nice stuff on how to do that HERE.

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