Page 1 of 1
Editor to Find and Replace blocks in Gedcom file
Posted: 07 Oct 2010 08:47
by oldtimer47
Its a long story but I would like to replace some references to sources in a Gedcom file. These are 'where used within source' so there are lots of them throughout the file. The quickest way is to do a text block find and replace so that I can find the block of lines that I need to change and replace them with a modified block.
Finding an editor that can do this and that is FREE is proving to be very difficult. Most editors will only find and replace 1 line.
I was wondering if anyone else on the Forums had done this and could suggest a suitable editor.
Many Thanks
Peter
ID:4820
Editor to Find and Replace blocks in Gedcom file
Posted: 07 Oct 2010 09:24
by Jane
I normally use:
http://www.nodesoft.com/searchandreplace/
Additionally, in PSPAD you can add the phReplace plug in which does multiple lines.
http://www.pspad.com/en/pspad-extensions.php?stranka=3
Editor to Find and Replace blocks in Gedcom file
Posted: 08 Oct 2010 18:23
by tatewise
Quick Search and Replace has many handy features including
Regular Expressions for find and replace, plus batch editing, and it is FREE.
So for example the following meta-characters will find:
t tab (HT/TAB)
n new line (NL)
r car return (CR)
f form feed (FF)
a alarm (bell) (BEL)
e escape (ESC)
http://www.searchreplacetext.com
Editor to Find and Replace blocks in Gedcom file
Posted: 08 Oct 2010 22:49
by oldtimer47
Thanks for the replies so far.
At the moment PSPAD with the extension is my favoured option.
Peter
Editor to Find and Replace blocks in Gedcom file
Posted: 12 Oct 2010 10:38
by GladToBeGrey
It's worth taking a look at Notepad++, too. It also has powerful search/replace functions, including Regular Expressions.
http://notepad-plus-plus.org/
Editor to Find and Replace blocks in Gedcom file
Posted: 12 Oct 2010 12:36
by PeterR
I think only PSPad has the significant added benefit of Jane's extensions to semi-automatically build FH functions ready to paste into Queries or other expression locations:
http://www.fhug.org.uk/wiki/doku.php?id ... pad_editor
and
http://www.fhug.org.uk/wiki/doku.php?id ... _functions
Editor to Find and Replace blocks in Gedcom file
Posted: 21 Oct 2010 13:32
by oldtimer47
Another one to add to the list is
PilotEdit Lite
The Lite version is free and can do block find and replace.
Peter