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

13794Re: [Clip] RegExp For Formatting Paragraphs

Expand Messages
  • acantley5
    Jun 6, 2005
    • 0 Attachment
      Roy,

      Your expressions worked for some paragraphs but not for those that
      end with the ., !, or plus white space? It worked perfectly after I
      first trimmed blanks from the whole document. Thanks.

      Al

      --- In ntb-clips@yahoogroups.com, "Roy Herring" <roynancy@e...>
      wrote:
      > Al, try this:
      > ^!REPLACE "{[.!?]}$" >> "\1\n" ritswa
      >
      > Input:
      > XX.
      > YY
      > XX!
      > YY
      > XX?
      > YY
      >
      > Output:
      > XX.
      >
      > YY
      > XX!
      >
      > YY
      > XX?
      >
      > YY
      >
      > Roy
      >
    • Show all 6 messages in this topic