Walter said:
I need to add "front:" and "back" anlternatively to every line in a long
list.
I don't think search-ad-replace will do.
Hi Walter,
It will. Just select the list along with the preceeding paragraph mark, but
without the last paragraph mark.
Then replace ^p with ^& plus whatever you want to add at the beginning.
Find/Replace even works fine if you don't have a contiguous list in which
you want to replace, but if you want to insert something at the start (or
end) depending on some criterion.
I often insert tags around paragraphs that are formatted in some paragraph
style, say "Heading 1".
Check "Match wildcards",
Find what: ([!^13]@)(^13)
and while in "Find what", go in "Format > Style" and select "Heading 1"
Replace with: <H1>\1</H1>\2
Regards,
Klaus