• Login
Community
  • Login

Search word with a large number

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 2 Posters 243 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.
  • V
    Vic.1989
    last edited by Apr 27, 2022, 6:53 PM

    Hello I want to know how to search a word with a high number. For example:

    Events 580

    I found this expression but this found because the first number:
    s*+ +events\ [0-9,]

    I want that only shows for example when number is more large or high of 100, not because the first number is between 0-9

    A 1 Reply Last reply Apr 27, 2022, 6:57 PM Reply Quote 0
    • A
      Alan Kilborn @Vic.1989
      last edited by Apr 27, 2022, 6:57 PM

      @vic-1989

      I might try: Events\x20+[1-9]\d\d(?=\D|\z)

      Can’t really understand what you’re wanting ahead of Events, though, so good luck.

      V A 2 Replies Last reply Apr 27, 2022, 7:07 PM Reply Quote 1
      • V
        Vic.1989 @Alan Kilborn
        last edited by Vic.1989 Apr 27, 2022, 7:09 PM Apr 27, 2022, 7:07 PM

        @alan-kilborn thanks Alan this works with numbers more high of 100.
        In the case that I search a word with a number more high of 400, not less, how would it be the expression?

        1 Reply Last reply Reply Quote 0
        • A
          Alan Kilborn @Alan Kilborn
          last edited by Alan Kilborn Apr 27, 2022, 7:16 PM Apr 27, 2022, 7:16 PM

          This part of the expression controls the first of the 3 digits: [1-9]; read it as “must be 1 through 9”. I think you can figure out how to adjust it for your new need.

          V 1 Reply Last reply Apr 27, 2022, 7:34 PM Reply Quote 1
          • V
            Vic.1989 @Alan Kilborn
            last edited by Apr 27, 2022, 7:34 PM

            @alan-kilborn Ah okay, yes its very simple, sorry haha. Thank you so much :)

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