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

Re: [Clip] incorporate regex into clipbook then process its named captured group

Expand Messages
  • beshtin
    Thank you. I did spot that extraneous #9.
    Message 1 of 8 , Dec 17, 2009
    • 0 Attachment
      Thank you. I did spot that extraneous #9.

      --- In ntb-clips@yahoogroups.com, "Don - HtmlFixIt.com" <don@...> wrote:
      >
      > Something not right there ... you are combining the first/last name in
      > one capture ($2) and so there are only 8 captures, hence the $9 is blank
      > ...
      >
      > But glad it worked. I figured you could take it from there so to speak.
      >
      > Once I began to get regex ... well gosh I feel superhuman sometimes.
      > Thanks to Sheri and Flo and Alex and Alec etc. for working me through them.
      >
      > beshtin wrote:
      > >
      > > HUGE thank you, Don. With a slight adjustment, your solution worked perfectly. This is a ton simpler than what I was trying before. Here's the working clip:
      > >
      > > ^!Jump Doc_Start
      > > ^!InsertHtml <table>^P
      > > ;long line follows
      > > ^!Replace "^(\d+) (.*?) ([A-Z]{3}) (\d+) (\d+) (\d+) (\d+) (\d+)">>"<tr><td>$1</td><td>$2</td><td>$3</td><td align=right>$4</td><td align=right>$5</td><td align=right>$6</td><td align=right>$7</t\d><td align=right>$8</td><td>$9</td></tr>" RAWS
      > > ;long line prior
      > > ^!Jump Doc_End
      > > ^!InsertHtml ^P</table>
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.