MARCEDIT-L Archives

January 2016

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:
Benjamin A Abrahamse <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Fri, 29 Jan 2016 20:50:16 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
I would use the "Edit subfield" tool:

Field: 300
Subfield: a
Field data: a(.+)\s(.)
Replace with: 1 online resource ($1) $2
Use regular expressions: TRUE

The regex will grab the pagination statement and the final ISBD punctuation, then reinsert them into the subfield along with the text, "1 online resource".

--Ben

Benjamin Abrahamse
Cataloging Coordinator
Acquisitions and Discovery Enhancement
MIT Libraries
617-253-7137

-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of Scott Enke
Sent: Friday, January 29, 2016 2:55 PM
To: [log in to unmask]
Subject: [MARCEDIT-L] 300 field add $a1online resource if not present

Hi all,

I'm working with a large set of electronic records. Most have the correct field 300 subfield a information, but some don't. For example:

=300  \\$a220 pages :$bportrait

How would I go about making this look more like:
=300  \\$a1 online resource (220 pages) :b$portrait ?

I guess I would want to put whatever is currently in the subfield a in parentheses and then add the 1 online resource wording in front of it. 

I'm not sure how this would be done using regex.

Thank you.

________________________________________________________________________

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