Notepad ++ find/replace wildcard issue

  • Whoa

    Whoa - 2013-01-31

    I am working with config where at the end of each line is a hash thats different for each line

    access-list global line 6 extended permit ip host any (hitcnt=0) 0xc87164de

    And I want to search for "(hitcnt=0) 0xc87164de" and replace it with nothing...

    I've searched these forums and every suggestion ends with "Can't find the text:"

    Please help!

  • François-R Boyer

    If there are no other parenthesis in your lines, you can find and replace "\(.*" (without the quotes), replacing by nothing, in "regular expression" mode, without selecting ". matches newline".


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks