Menu

find feature question

frec
2009-08-24
2012-11-14
  • frec

    frec - 2009-08-24

    so i am currently trying to figure out how to use the find feature..
    the problem is that notepad++ won't ignore the whitespaces in front of the lines.
    i could use the "ignore whitespace" feature in dreamweaver to get the search result that i needed.
    is there any similar feature in notepad++ that does that?

     
    • cchris

      cchris - 2009-08-24

      yes, use regular expressions. A whitespace character is represented by \s, so the following all lines starting with "foo", no matter the indentation:

      ^\s*foo

      CChris

       
MongoDB Logo MongoDB