View Single Post
 
Old 05-25-2023, 07:53 AM
FMH FMH is offline Mac OS X Office 2019
Novice
 
Join Date: May 2023
Posts: 2
FMH is on a distinguished road
Default How to delete 2nd nonsequential occurrence of item to end of document

I have a list of Spanish words followed by a paragraph mark, followed by its translation, followed by another Spanish word and another paragraph mark. I want to delete every paragraph mark that follows a Spanish word or phrase and replace it with a tab and then continue that same process to the end of the file. It's a list of a thousand words. Here's an excerpt:

la televisión[prg mark]
television[prg mark]
amar[prg mark]
to love[prg mark]
el/la bebé[prg mark]
baby[prg mark]
regular[prg mark]
regular[prg mark]
describir[prg mark]
to describe[prg mark]
la dieta[prg mark]
diet[prg mark]
la banda[prg mark]
band[prg mark]

I want to repeat that delete-and-replace all the way to the end of the file. Anyone have a clue how I can achieve that? I've searched for macros online and 1) they might as well be written in Greek and 2) they never address this particular thing.
Reply With Quote