REGEX help for removing first n characters from every word

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
talazem
Posts: 71
Joined: Sat Jan 14, 2006 5:18 pm

REGEX help for removing first n characters from every word

Post 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?
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Post 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
eleuteruiz
Posts: 71
Joined: Wed Jul 20, 2005 8:20 am
Location: Rome - Italy

Post 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
Post Reply