Community
    • Login

    Keep only last word of each line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 731 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.
    • Vinc CserV
      Vinc Cser
      last edited by

      Hello, can someone help me fin a reg expression to keep only last word of each line in account format?
      Example :
      sharirachel:K7LOQ0PY0UNI:gqspejsmk6j0f39li4z5pxxvt6xonk

      gqspejsmk6j0f39li4z5pxxvt6xonk

      Thanks in advance

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Vinc Cser
        last edited by

        @Vinc-Cser

        Find: (?-s)^.*?(\w+)$
        Replace: ${1}
        Search mode: Regular expression

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