MARCEDIT-L Archives

November 2012

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Reese, Terry" <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Thu, 1 Nov 2012 21:59:28 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
I haven't seen if this was answered.  My first response is a little hacky -- but I'd just copy the field.  This duplicates the data into another field.  Then use the Replace function -- specifically a regular expression -- to filter away the $b and change the indicators if you like.  Something like:

Find: (=999)(  .{2})(\$a.*)(\$b)(.*)
Replace: $1  00$3$5

Pretty sure that would do it.

--tr

-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of Cate Marshall
Sent: Monday, October 29, 2012 8:53 AM
To: [log in to unmask]
Subject: [MARCEDIT-L] Editing subfield data

I am trying to take data from one field and place it in a new field, but edit the contents along the way. Basically this is what I'm looking for:

Start with

050= 14$aQH331$b.L5276 2010eb


Finish with

999= 00$aQH331.L5276 2010eb



I'm not really concerned with the first indicators (switching from 14 to 00), but I'm more interested in finding a way to remove the $b from the data (so that the data in subfield $b would be pasted to the end of the data in subfield $a.

Thank you in advance for the help,

Cate Marshall

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

ATOM RSS1 RSS2