On Mon, 18 Feb 2013 23:47:46 -0500, Denis Beauregard <denis.b-at-francogene.com@fr.invalid> wrote: >So, this problem consists in : > >replacing "Hugh" "Hugh" by Hugh (or "Hugh") in all lines beginning >with >1 NAME > >where "Hugh" "Hugh" would be any pair of similar names, i.e. >"Denis" "Denis" or "Charles" "Charles". > >From my experience with Brief, a text editor with regular expressions, >I don't know how to define a duplicated word. Brief was not using the >standard regular expressions but with it, something like "$1" "$1" >was not accepted... > > >Denis Or, even more apt to me at least, is replacing the quotes BEFORE they are incorporated into the second program. IOW make the adjustment to the gedcom after creation but before import if the programs Search and Replace can't handle the task. Seems like there would be a simple way to remove the quotes from the gedcom. That would solve my problem but not the problem for someone who uses quotes in another manner. Hugh