• Login
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.
  • O
    Olivier Thomas
    last edited by Sep 30, 2021, 6:03 PM

    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
    • R
      rinku singh
      last edited by rinku singh Sep 30, 2021, 6:59 PM Sep 30, 2021, 6:57 PM

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

      1 Reply Last reply Reply Quote 0
      • G
        guy038
        last edited by guy038 Oct 1, 2021, 5:35 PM Sep 30, 2021, 7:00 PM

        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
        • O
          Olivier Thomas
          last edited by Oct 1, 2021, 1:55 PM

          Everything works…
          Thanks.

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