RootsWeb.com Mailing Lists
Total: 1/1
    1. Re: Search and replace in one field
    2. Charlie Hoffpauir
    3. On Wed, 27 Feb 2013 13:43:06 -0600, Charlie Hoffpauir <snip> >Note to Hugh: From your other post it looks like you are still trying >to make an alteration to a Legacy GEDCOM... to something that will >look right in RM. The best solution I've seen so far was what Dennis >Bieber wrote as a Powershell command set, to operate on a GEDCOM and >replace all instances of a name within quotes by that name within >tildes, so that "Hugh" becomes ~Hugh~ (only an example again, the >routine fixes "any" name) everywhere it appears in either a NAME field >or a GIVN field. I tested that on a large GEDCOM, and although it took >a long time to run, it did work perfectly. Once you import the >corrected GEDCOM into RM, it's trivial to do a search/replace to >change the tildes back to quotes. > >The good thing about Powershell is that you probably already have it >on your computer, or it's free to install. And you don't really have >to know anything else but how to copy the command once you open the >Powershell "shell". I now rescind all of the above, based on the fact that Hugh has determined that Legacy has the very neat feature of allowing one to eliminate one or more fields from the export to GEDCOM! That is by far the best solution!

    02/27/2013 07:02:17