Community
    • Login

    Find a word with a specific number on Netpad Plus

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 2 Posters 307 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.
    • diana parkerD
      diana parker
      last edited by

      hi guys , I have a long list that I want to find in this list of words with the number 123

      example my list

      Admin1
      sara123
      123admin
      paris1234
      hello123
      123

      my Result list

      sara123
      hello123

      just splite word+123 not example paris1234 or 123admin in my list Result how find (word+123) thanks sorry my english bad

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @diana parker
        last edited by

        maybe a regex like \w+123\b will do what you want?

        1 Reply Last reply Reply Quote 1
        • diana parkerD
          diana parker
          last edited by

          @Ekopalypse said in Find a word with a specific number on Netpad Plus:

          \w+123\b

          thats ok but in my list word abc123… or admin123! is in resualt how find only word with 123 without symbol next 123 what add to your code for only word+123 resualt complate ?

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @diana parker
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • EkopalypseE
              Ekopalypse
              last edited by

              Maybe this one is better \w+123(?=\R|\h|\Z)

              1 Reply Last reply Reply Quote 1
              • diana parkerD
                diana parker
                last edited by

                @Ekopalypse said in Find a word with a specific number on Netpad Plus:

                \w+123(?=\R|\h|\Z)

                thanks this beter

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