Re: [Clip] Re: Find - Replace
- This one takes a text selection (highlighted) and creates a NEW HTL
coded page containing no Header or foot.
^!Replace "^P" >> "</p>^P<p>" SAW
Jeff Scism, IBSSG
A computer without COBOL and FORTRAN is like a piece of chocolate cake
without ketchup or mustard. (John Krueger)
Now there is something about 80 columns and 12 zones....OH YES, and the
notched corner in the upper right... Then there was Burroughs...
- Ok Lee, then you might try using something this as a template for a
^!Replace "^P^P" >> "|" ATIWS
^!Replace "^P" >> "<br>" ATIWS
^!Replace "|" >> "^P^P<p>" ATIWS
The first line in the clip temporarily replaces all double spaced
(^P^P) lines with a character not found in your text document (I used
the pipe (|) character).
The second line in the clip replaces the remaining ^P with <br>
And the third line changes the temporary | character used in the
first step into ^P^P<p>
You may have a trailing <br> at the very end to delete if you had an
line break there, and you won't have an opening <p> tag if the very
first paragraph is at the top of the page, but otherwise it should do
what you want unless I'm not understanding you correctly.
--- In firstname.lastname@example.org, Lee Underwood <lee@t...> wrote:
> This clip adds a <p> at the end of every line. I only need it in
> lines. Also, it adds the </p> which I do not use. That is the
> the method below. I am just trying to write a clip to do it the way
> it with out the other coding, which I would then have to erase.