Community
    • Login

    RegEx ,\ni

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 455 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.
    • Olivier ThomasO
      Olivier Thomas
      last edited by

      Jaki ma być wzór, aby wyszukiwarka szukała przecinek
      na końcu linii + literę „i” na początku następnej linii?

      Schowek01.jpg

      1 Reply Last reply Reply Quote 0
      • rinku singhR
        rinku singh
        last edited by rinku singh

        find: ,$\r\n^i
        search mode: regular expression

        1 Reply Last reply Reply Quote 0
        • guy038G
          guy038
          last edited by guy038

          Hello, @olivier-thomas and All

          It’s very simple ! In the Find what: field, type in :

          • (?-i),\Ri    ( if you search for a lower-case i, only )

          • (?i),\Ri    ( if you search for a letter i, whatever its case )

          Notes :

          • The \R syntax refers to any single line-break ( \r\n for Windows, \n for Unix and \r fore MAC )

          • Note that the syntax (?-i) means a non-insensitive to case search and has no relation with your literal i ! On the contrary, if your regex begins with (?i), the the search will not care about case of letters

          Best Regards,

          guy038

          1 Reply Last reply Reply Quote 0
          • Olivier ThomasO
            Olivier Thomas
            last edited by

            Everything works…
            Thanks.

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