• Login
Community
  • Login

Find the specific word in notpad++

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 443 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.
  • D
    Dark Light
    last edited by Nov 29, 2022, 11:46 AM

    hi guys i have list for example

    Ali123
    A1234
    Ali123.
    Ali123123
    Ali123456
    David123

    i want notpad find just (any word +123)
    the result this:
    Ali123
    David123

    but notpad find all 123 in show result sorry my english bad i hope anyone help me

    A S 3 Replies Last reply Nov 29, 2022, 12:06 PM Reply Quote 0
    • A
      Alan Kilborn @Dark Light
      last edited by Nov 29, 2022, 12:06 PM

      @Dark-Light

      Try:

      Find what box: \w+?123
      Search mode radiobuttons: press Regular expression

      Learn to answer questions of this kind yourself in the future; start reading HERE and also check out the N++ user manual’s searching section HERE .

      1 Reply Last reply Reply Quote 0
      • S
        Silent_Macjedi @Dark Light
        last edited by Nov 30, 2022, 8:03 AM

        Hi @Dark-Light

        You can also try;

        (?<=[A-Z])123$
        

        Please, do not forget to select “Regular expression” in Search Mode

        Regards.
        Hüseyin Çağlar

        1 Reply Last reply Reply Quote 3
        • A
          Alan Kilborn @Dark Light
          last edited by Nov 30, 2022, 1:00 PM

          @Dark-Light

          I misread the problem statement; @Silent_Macjedi 's answer is more accurate for the stated need than mine, please use that.

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