• Login
Community
  • Login

Search ignoring whitespace

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 1.0k 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.
  • J
    jdx-john
    last edited by jdx-john Apr 26, 2022, 1:56 PM Apr 26, 2022, 1:55 PM

    I have a lot of lines containing text like “proc : do-stuff()” and would basically like to do a search for “proc:do-stuff” ignoring whitespace.

    Is the only way to do this to use the full regex search mode or can I do it using extended search? Searching for “Proc\s+:\s+do-stuff” is something I have to look up how to do every time it’s been more than a week :)

    It’s something I seem to do quite often and I’d personally love if there was a simple “Ignore whitespace” checkbox alongside “Match case” and “Match whole word only”. I don’t suppose this might be considered a feature request

    A 2 Replies Last reply Apr 26, 2022, 2:05 PM Reply Quote 0
    • A
      Alan Kilborn @jdx-john
      last edited by Apr 26, 2022, 2:05 PM

      @jdx-john said in Search ignoring whitespace:

      Is the only way to do this to use the full regex search mode

      Yes.

      or can I do it using extended search?

      No.

      1 Reply Last reply Reply Quote 0
      • A
        Alan Kilborn @jdx-john
        last edited by Apr 26, 2022, 2:09 PM

        @jdx-john said in Search ignoring whitespace:

        love if there was a simple “Ignore whitespace” checkbox alongside “Match case” and “Match whole word only”.

        So it would be?:

        • ignore whitespace in the Find what expression
        • ignore whitespace in the text that is searched
        • both

        I don’t suppose this might be considered a feature request

        Feature requests are not made here (well, if you want them to be seen by the developers). See HERE for how to make a proper one.

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