Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    how to remove text before (regex)

    General Discussion
    2
    4
    945
    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.
    • lendik eko
      lendik eko last edited by

      hi guys,

      can you help me how i can get output like this on notepad++:

      john doe|4135870002981971|05|17|111
      jack sparrow|5202970000032044|04|18|121

      to

      4135870002981971|05|19|111
      5202970000032044|04|18|121

      Scott Sumner 1 Reply Last reply Reply Quote 0
      • Scott Sumner
        Scott Sumner @lendik eko last edited by Scott Sumner

        @lendik-eko

        If you know the term regex , you really should have no trouble with this conversion. What have you tried? Maybe you are close and it only needs a slight tweak…

        Maybe a hint is that when you are working with | and regex, you need to use \| instead of just plain |…

        1 Reply Last reply Reply Quote 2
        • lendik eko
          lendik eko last edited by

          sorry. i am beginner.
          can you tell me how to do it? :)

          1 Reply Last reply Reply Quote 0
          • Scott Sumner
            Scott Sumner last edited by

            Try this:

            Find what zone: (?-s)^.+?\|
            Replace with zone: make sure this is EMPTY
            Search mode: Regular expression

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors