Community

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

    Find a word with a specific number on Netpad Plus

    Help wanted · · · – – – · · ·
    2
    6
    48
    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 parker
      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

      Ekopalypse 1 Reply Last reply Reply Quote 0
      • Ekopalypse
        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 parker
          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 ?

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

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

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

              1 Reply Last reply Reply Quote 1
              • diana parker
                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
                Copyright © 2014 NodeBB Forums | Contributors