Community
    • Login

    How do I search for a typed (C)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 567 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.
    • Mon OnkelM
      Mon Onkel
      last edited by

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

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Mon Onkel
        last edited by

        @Mon-Onkel

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

        Mon OnkelM 1 Reply Last reply Reply Quote 0
        • Mon OnkelM
          Mon Onkel @Ekopalypse
          last edited by

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

          1 Reply Last reply Reply Quote 1
          • Terry RT
            Terry R
            last edited by Terry R

            @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

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