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

[Clip] Re: regex help ....

Expand Messages
  • diodeom
    ... This seems to work: Search for: p{Ll} K(?= p{Lu})|, | pL K(?= d)| d K (?= d) Replace (WARS) with: t It just leaves an occasional q at the end of
    Message 1 of 6 , May 3 2:48 PM
    • 0 Attachment
      I wrote:
      >
      > I think that Flo's solution could avoid these issues altogether, though (as is) it doesn't look like it would know NOT to split e.g. "Oak Ridge" with a tab.
      >

      This seems to work:

      Search for:
      "\p{Ll}\K(?=\p{Lu})|, |\pL\K(?=\d)|\d\K (?=\d)"

      Replace (WARS) with:
      "\t"

      It just leaves an occasional "q" at the end of some lines to clean.
    Your message has been successfully submitted and would be delivered to recipients shortly.