Community
    • Login

    Someone help me

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 223 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.
    • Wahlla MaglaW
      Wahlla Magla
      last edited by

      Hi. Can someone help me with this. Say for example I have this text:
      Clarck/22yaloo
      Black/36narkos
      Galim/balisok
      How do I remove two characters after this symbol “/” in each line ?

      1 Reply Last reply Reply Quote 0
      • guy038G
        guy038
        last edited by guy038

        Hello, @whalla-magla and All,

        If we assume that there is only 1 slash per line, then use the Regular expression search mode with :

        • SEARCH (?-s)/..

        • REPLACE /

        then your INPUT example :

        Clarck/22yaloo
        Black/36narkos
        Galim/balisok
        

        becomes :

        Clarck/yaloo
        Black/narkos
        Galim/lisok
        

        If you meant : delete the two digits after the / character, then use the following regex S/R :

        • SEARCH /\d\d

        • REPLACE /

        This time, your INPUT example :

        Clarck/22yaloo
        Black/36narkos
        Galim/balisok
        

        becomes :

        Clarck/yaloo
        Black/narkos
        Galim/balisok
        

        Best Regards

        guy038

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