Community
    • Login

    Displaying only lines that start with or contain -keyword-

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.5k Views 1 Watching
    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.
    • Javier de MolinaJ Offline
      Javier de Molina
      last edited by Javier de Molina

      I’m doing heavy work on a txt file that stores a lot of data. All elements in the file have the same attributes. For example “Name=(string)”, next line “InternalName=(string)”, then on the next element, Name= and InternalName= appear again with different values. I’d like to only display specific lines, some starting with “Name=”, for example, so I can hide the rest of the file and avoid a ton of scrolling down. Is this possible at all?

      Thanks

      1 Reply Last reply Reply Quote 0
      • chcgC Offline
        chcg
        last edited by chcg

        Seems you could do a search on the whole active file to your pattern and then look just at the search result window. Which has a link back to the origin if you click that line.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors