Loading ...
Sorry, an error occurred while loading the content.

My simple replace clip is not working

Expand Messages
  • Johnn
    Hi, I ve got a short clip to clean up Word characters. However, the first item - the apostrophe one - never works. Any ideas? ^!Replace TIW
    Message 1 of 5 , Apr 30 7:59 AM
    • 0 Attachment
      Hi, I've got a short clip to clean up Word characters.

      However, the first item - the apostrophe one - never works.

      Any ideas?

      ^!Replace "'" >> "'" TIW
      ^!Replace """ >> """ TIW
      ^!Replace """ >> """ TIW
      ^!Replace "…" >> "..." TIW

      This line never replaces the funky apostrophes with plain ones:
      ^!Replace "'" >> "'" TIW
    • John Shotsky
      ;For smart single quotes ^!Replace [‘’]+ ARSW ^!IfError Next Else Skip_-1 ;For double smart quotes ^!Replace ( “| ”) ARSW ^!IfError
      Message 2 of 5 , Apr 30 8:06 AM
      • 0 Attachment
        ;For smart single quotes
        ^!Replace "[��]+" >> "'" ARSW
        ^!IfError Next Else Skip_-1
        ;For double smart quotes
        ^!Replace "(\�|\�)" >> "\"" ARSW
        ^!IfError Next Else Skip_-1

        Regards,
        John
        RecipeTools Web Site: <http://recipetools.gotdns.com/> http://recipetools.gotdns.com/
        John's Mags Yahoo Group: <http://groups.yahoo.com/group/johnsmags/> http://groups.yahoo.com/group/johnsmags/

        From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of Johnn
        Sent: Tuesday, April 30, 2013 07:59
        To: ntb-clips@yahoogroups.com
        Subject: [Clip] My simple replace clip is not working


        Hi, I've got a short clip to clean up Word characters.

        However, the first item - the apostrophe one - never works.

        Any ideas?

        ^!Replace "'" >> "'" TIW
        ^!Replace """ >> """ TIW
        ^!Replace """ >> """ TIW
        ^!Replace "�" >> "..." TIW

        This line never replaces the funky apostrophes with plain ones:
        ^!Replace "'" >> "'" TIW



        [Non-text portions of this message have been removed]
      • Johnn
        Awesome, that worked. Thanks John.
        Message 3 of 5 , Apr 30 8:16 AM
        • 0 Attachment
          Awesome, that worked. Thanks John.
        • Adrian Worsfold
          Hello clippers Why use a replace smart quotes at all? Create a few spare lines below the text, highlight the text and drag it down into the spare lines and
          Message 4 of 5 , Apr 30 7:22 PM
          • 0 Attachment
            Hello clippers

            Why use a replace smart quotes at all? Create a few spare lines below the text, highlight the text and drag it down into the spare lines and then drag it back up again to the made spare lines at the top. All smart quotes change to simple.




            Adrian Worsfold

            http://www.pluralist.co.uk
            http://pluralistspeaks.blogspot.com
            pluralist@...
            01-05-2013
            ----- Received the following content -----
            From: John Shotsky
            Receiver: ntb-clips
            Time: 2013-04-30, 16:06:39
            Subject: RE: [Clip] My simple replace clip is not working


            [Non-text portions of this message have been removed]
          • John Shotsky
            Because you don t have the FIND them manually first to fix them. What if it s a book of 1 meg and there are thousands of smart quotes? Click a clip and it
            Message 5 of 5 , Apr 30 9:26 PM
            • 0 Attachment
              Because you don't have the FIND them manually first to fix them. What if it's a book of 1 meg and there are thousands of smart
              quotes? Click a clip and it fixes all of them. Even if there are none, it is still one click to be sure there are none.

              Regards,
              John
              RecipeTools Web Site: <http://recipetools.gotdns.com/> http://recipetools.gotdns.com/
              John's Mags Yahoo Group: <http://groups.yahoo.com/group/johnsmags/> http://groups.yahoo.com/group/johnsmags/

              From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of Adrian Worsfold
              Sent: Tuesday, April 30, 2013 19:22
              To: ntb-clips
              Subject: Re: RE: [Clip] My simple replace clip is not working


              Hello clippers

              Why use a replace smart quotes at all? Create a few spare lines below the text, highlight the text and drag it down into the spare
              lines and then drag it back up again to the made spare lines at the top. All smart quotes change to simple.




              Adrian Worsfold

              http://www.pluralist.co.uk
              http://pluralistspeaks.blogspot.com
              pluralist@... <mailto:pluralist%40pluralist.karoo.co.uk>
              01-05-2013
              ----- Received the following content -----
              From: John Shotsky
              Receiver: ntb-clips
              Time: 2013-04-30, 16:06:39
              Subject: RE: [Clip] My simple replace clip is not working

              [Non-text portions of this message have been removed]



              [Non-text portions of this message have been removed]
            Your message has been successfully submitted and would be delivered to recipients shortly.