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

Hexadecimal replace

Expand Messages
  • C
    Friends, I need to erase , two symbols as, in src= I used ^!Replace x{042} x{042}s(.*?)rc= src= RWS because x{042} is the hexadecimal value for
    Message 1 of 3 , Mar 2, 2012
    • 0 Attachment
      Friends,

      I need to erase "", two " symbols as, in ""src=

      I used ^!Replace "\ x{042}\x{042}s(.*?)rc=" >> src= RWS

      because \ x{042} is the hexadecimal value for ".

      But do not worked. This is the correct syntax?

      Thanks!
    • John Shotsky
      Try this instead: ^!Replace +(?=src=) ARSW ^!IfError Next Else Skip_-1 That will delete them. It is repeated because it might happen more than once
      Message 2 of 3 , Mar 2, 2012
      • 0 Attachment
        Try this instead:
        ^!Replace "\"\"+(?=src=)" >> "" ARSW
        ^!IfError Next Else Skip_-1

        That will delete them. It is repeated because it might happen more than once in one line. Remove that line if that's not
        a possibility.

        Regards,
        John
        RecipeTools Web Site: <http://recipetools.gotdns.com/> http://recipetools.gotdns.com/

        From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of C
        Sent: Friday, March 02, 2012 10:40
        To: ntb-clips@yahoogroups.com
        Subject: [Clip] Hexadecimal replace


        Friends,

        I need to erase "", two " symbols as, in ""src=

        I used ^!Replace "\ x{042}\x{042}s(.*?)rc=" >> src= RWS

        because \ x{042} is the hexadecimal value for ".

        But do not worked. This is the correct syntax?

        Thanks!



        [Non-text portions of this message have been removed]
      • Axel Berger
        ... Two answers: a) you don t need any Regex here ^!Replace src= src= WASTI b) is Dec 34, Hex 22, or Oct 42 So the Regex would be x22 or 042 Axel
        Message 3 of 3 , Mar 2, 2012
        • 0 Attachment
          C wrote:
          > because \ x{042} is the hexadecimal value for ".

          Two answers:

          a) you don't need any Regex here
          ^!Replace """src=" >> "src=" WASTI

          b) " is Dec 34, Hex 22, or Oct 42
          So the Regex would be \x22 or \042

          Axel
        Your message has been successfully submitted and would be delivered to recipients shortly.