Community
    • Login

    Search & Replace with carriage return regex (?-s)"." doesn't work

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 716 Views 1 Watching
    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.
    • Edwin TE Offline
      Edwin T
      last edited by

      I"m in the replace tab.

      In the find what I type in regex (?-s)“.”
      In the replace with I type “;”

      I tried all options normal, extended, regular expression
      none of them worked.

      It says “Can’t find the text
      what regex (?-s)”."

      What am I doing wrong?

      EkopalypseE Alan KilbornA 2 Replies Last reply Reply Quote 1
      • EkopalypseE Offline
        Ekopalypse @Edwin T
        last edited by

        @Edwin-T

        how does your text look like?
        You are searching for any char encased by double quotes, is this intentional?

        1 Reply Last reply Reply Quote 3
        • Alan KilbornA Offline
          Alan Kilborn @Edwin T
          last edited by

          @Edwin-T

          I think what Eko is getting at is that there are several types of double quotes when one considers unicode and maybe what you are searching for isn’t the same type as in your document. Note also that sometimes the opening double quote is the same as the closing double quote, and sometimes they are different. Know your data.

          1 Reply Last reply Reply Quote 2

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors