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

18981Re: Using regex to insert a comment

Expand Messages
  • Flo
    Mar 2, 2009
    • 0 Attachment
      --- In ntb-clips@yahoogroups.com, "paulmaser" <paul@...> wrote:
      > I've been working on a problem for a while and came up with a
      > solution that I would like to share(...)Then replace the <li><b>
      > part of the entry with <li>%cc%<b>, which add the region to
      > the entry.


      I understand that the lines...

      <!-- Mexico: -->

      are replaced with...

      <!-- Mexico: -->
      <li>Mexico: <b><i>Melbourne...

      Isn't that done with just the following line...

      ^!Replace "(\w+:\x20)\K(-->\r\n<li>)(<b><i>)" >> "$2$1$3" AWRS

      ...matching all occurrences of that pattern?

    • Show all 15 messages in this topic