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

Re: [Clip] substring index out of bounds - regular expression

Expand Messages
  • Don
    ... restarted notetab and it worked just fine
    Message 1 of 3 , May 3, 2010
    • 0 Attachment
      On 5/4/2010 12:35 AM, Don wrote:
      > ^!Replace "^( +\d+\) )([a-zA-Z\-\']+) ([a-zA-Z\-\']+)( {2,})(\d+\))
      > ([a-zA-Z\-\']+) ([a-zA-Z\-\']+).*">> "$1$3, $2$4 $5 $7, $6" RAWS
      >
      > works in a replace dialog just fine
      >
      > used on this:
      > 1) Jake Fortman 2) Jesse Metzmaker
      > 3) John Bell 4) Justin Krauss
      >
      restarted notetab and it worked just fine
    • diodeom
      ^!Replace ) h+ K([^ h r]++) h+([^ h r]++) $2, $1 WARS
      Message 2 of 3 , May 4, 2010
      • 0 Attachment
        ^!Replace "\)\h+\K([^\h\r]++)\h+([^\h\r]++)" >> "$2, $1" WARS

        --- Don <don@...> wrote:
        >
        > 1) Jake Fortman 2) Jesse Metzmaker
        > 3) John Bell 4) Justin Krauss
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.