Community

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

    How can I search a specific numbers in between two numbers?

    General Discussion
    3
    3
    441
    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.
    • BDz48
      BDz48 last edited by

      Hey,
      I’m new on notepad++, and I want to know how can I lookup for a numbers in between two number:

      Like I want to search in a text file full of numbers and words, and I only want to find the numbers between 600-700, so all the numbers from 600-700 will be in search, in others words, no numbers should be search but only the number between 600-700!

      Ty

      1 Reply Last reply Reply Quote 0
      • rinku singh
        rinku singh last edited by rinku singh

        @BDz48
        6\d\d|700

        capture-20200330-093759.png

        1 Reply Last reply Reply Quote 3
        • guy038
          guy038 last edited by

          Hello, @BDz48, @gurikbal-singh, and All,

          Don’t forget to select the Regular expression search mode for a correct result of the @gurikbal-singh’s regex

          Now, if you do not want a match when the number 6.. is surrounded with other numbers as, for instance, in text 497954316579791310932, use the regex \b(6\d\d|700)\b

          Best Regards,

          guy038

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