Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    RegEx ,\ni

    Help wanted · · · – – – · · ·
    3
    4
    108
    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 Thomas
      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 singh
        rinku singh last edited by rinku singh

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

        1 Reply Last reply Reply Quote 0
        • guy038
          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 Thomas
            Olivier Thomas last edited by

            Everything works…
            Thanks.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors