• Login
Community
  • Login

Need help with RegEx

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 184 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.
  • S
    Smudge the cat
    last edited by Mar 25, 2025, 11:30 AM

    Hi, everyone. I need help on how I can search for message if it includes more than X characters in total.
    For example: I want to search a username, let’s say “Smudge”. There are characters before Smudge and I do not want them to be included so I’ll be typing “Smudge.*”. But how can I make this so it only shows results if there are X or more characters coming after the username Smudge?
    Thank you!!

    P 1 Reply Last reply Mar 25, 2025, 2:01 PM Reply Quote 0
    • P
      PeterJones @Smudge the cat
      last edited by Mar 25, 2025, 2:01 PM

      @Smudge-the-cat ,

      See the User Manual > Searching > Regular Expressions > Multiplying Operators for all the details on how to set quantities.

      You will want Smudge.{X,} where X is whatever number you want, and the comma is needed to say “or more”.

      S 1 Reply Last reply Mar 25, 2025, 5:20 PM Reply Quote 2
      • S
        Smudge the cat @PeterJones
        last edited by Mar 25, 2025, 5:20 PM

        @PeterJones thank you so much for the help!!

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