Thanks, Brian.
I'm sure that would work, but I finally figured it out
with wildcards:
In the find box [a-z]:
In the replace box ^&^p
(^& apparently means "whatever was just found")
Thanks again - given my skill level, it sure beats
writing macros!
Hi Bruce,
Good idea to replace the original goal (? after the second ":") with an
easier one (? after a letter+colon, and not after a number+colon).
For the original goal, you'd have needed to include the preceeding paragraph
mark in the "Find what:" expression, to you have an "anchor" from which
onwards you can count the colons.
A first try might then be
Find what: ^13*:*:
Replace with: ^&^p
But the "*" joker is a dangerous thing, which might match a whole lot of
text.
In most cases, matches should be restricted to a single paragraph. So most
times, you should simply replace all "*" with "[!^13]@" (= any lenght of
arbitrary text, but *no* paragraph marks).
So you'd get
Find what: ^13[!^13]@:[!^13]@:
Replace with: ^&^p
Greetings,
Klaus
> Thanks, Brian.
>
[quoted text clipped - 48 lines]
> >>
> >.
BruceD - 04 Nov 2003 16:40 GMT
Thanks,Klaus! It was the article you wrote with Graham
Mayor that got me started on this whole thing.
>-----Original Message-----
>Hi Bruce,
>
>Good idea to replace the original goal (¶ after the
second ":") with an
>easier one (¶ after a letter+colon, and not after a
number+colon).
>For the original goal, you'd have needed to include the preceeding paragraph
>mark in the "Find what:" expression, to you have an "anchor" from which
[quoted text clipped - 71 lines]
>
>.