Community
    • Login

    Need help with RegEx

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 97 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.
    • Smudge the catS
      Smudge the cat
      last edited by

      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!!

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Smudge the cat
        last edited by

        @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”.

        Smudge the catS 1 Reply Last reply Reply Quote 2
        • Smudge the catS
          Smudge the cat @PeterJones
          last edited by

          @PeterJones thank you so much for the help!!

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