How do I search for a typed (C)



  • How do I search for a typed ©, that is parenthesis-C-parenthesis ?



  • @Mon-Onkel

    ctrl+f and then alt+0169 (on keypad)



  • @Ekopalypse

    I have fixed this by using notepad standard to replace parenthesis-C-parenthesis with some characters that notepad++ accepts.

    I still would like to know how to deal with (), ), and (
    that are said to be Perl special characters.



  • @Mon-Onkel said:

    I still would like to know how to deal with (), ), and (

    Whenever you are dealing with looking for the special characters in a regex (regular expression) you need to use a ‘delimiter’ to denote that it’s the literal character you want to search for, not the special meaning.

    In Notepad++ we use \ as a delimiter. Thus \( means search for a literal ( (left curved bracket). If you wanted to search for () together as literals use \(\). There can be some exceptions but for clarity use \ for every special character. So even the \ is special so literally it is \\.

    Terry


Log in to reply