Comments

If you are having difficulty using iFamily for Leopard.
eg: "How do I change someone's sex after they are married?
Post Reply
johnbedford
Posts: 5
Joined: Sun Oct 19, 2008 2:38 pm
Location: Australia

Comments

Post by johnbedford » Mon Nov 03, 2008 11:55 pm

recently, I installed ifamily after having used reunion, and transferred my existing records using gedcom. The file is fairly large (over 16000 individuals) and in the comments section of each individual a piece of code, probably about 30 digits long, is printed. I can see no loss of data to account for this code, and the only way I can see to delete this is by deleting each one, one at a time. This will take a very long time. Is there any way I can clear the comments section of all records at one time.
John Bedford

jke98226
Posts: 5
Joined: Sun Oct 26, 2008 7:08 pm
Location: Bellingham, WA

Re: Comments

Post by jke98226 » Tue Nov 04, 2008 1:22 am

Have you tried the "Delete all Comments Lines that Contain the Filter String"? I haven't used it, but it seems to describe what you want to do. It's under "People -> Comments..." and at the bottom of the dialog box.

I hope this help.
Jon

johnbedford
Posts: 5
Joined: Sun Oct 19, 2008 2:38 pm
Location: Australia

Post by johnbedford » Tue Nov 04, 2008 1:50 am

Thanks for the tip, but I have already tried that, but each string is different

John Bedford

moose45
Posts: 6
Joined: Sat Oct 25, 2008 5:19 pm
Location: UK

Regular expression to the rescue

Post by moose45 » Tue Nov 04, 2008 10:40 pm

Sound like the ideal candidate for a text editor that can handle regular expressions.

A gedcom file is just formatted text after all.

There are loads of text editors that allow you to do a "find and replace" based on a regular expression. This include the free editor jedit http://www.jedit.org.

Using that tool if you wanted to search and replace a 29-character long number string you would use the following [0-9]{29}

There's a great guide to regular expressions at http://www.regular-expressions.info/quickstart.html

I'm sure with a little playing you could work out how to delete what you want without touching the rest.

As with everything, take a backup, then take another one before working on your data!

johnbedford
Posts: 5
Joined: Sun Oct 19, 2008 2:38 pm
Location: Australia

Post by johnbedford » Thu Nov 06, 2008 1:15 am

Thanks for that, I will try that and see what happens
Cheers John Bedford

Post Reply