Page 1 of 1

REGEX help for removing first n characters from every word

Posted: Sat Dec 09, 2006 4:28 pm
by talazem
Could REGEX wizards help, please? I need a regex search that will find all words that begin with XX in Field Z, and then removing the first n characters of every such word.

I read the regex stuff in the manual, did some internet searches, but no cigar. Can anyone help?

Posted: Sat Dec 09, 2006 5:33 pm
by Jon
Hi,

This is to be done in Bookends? It can't be done -- Bookends limits you to searches only.

You'd have to export as a tab-deliminted file, open in something like BBEdit (maybe Mellel), process, then import that back into Bookends.

Jon
Sonny Software

Posted: Tue Dec 12, 2006 4:32 pm
by eleuteruiz
Hi,
Perhaps you could do the search within BE first, and then export only those references (hits) to be processed. But maybe I am being too obvious here, sorry.

Eleuteruiz