MARCEDIT-L Archives

December 2011

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:
Anne Newnham <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Mon, 12 Dec 2011 01:00:50 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
Thanks again Walter (and Sue). The script below does everything I need it to.

Anne Newnham
Assistant librarian, Cataloguing
University of Auckland
Auckland, New Zealand


-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of Nickeson, Walter
Sent: Saturday, 10 December 2011 2:33 a.m.
To: [log in to unmask]
Subject: Re: Convert 300 field to provider neutral

Sorry, I neglected that part. This expression will remove subfield $c
and the ISBD punctuation (space-colon or space-semicolon) preceding it:

Find: (=300.*)( .\$c.*)
Replace: $1

To add a period at the end of the field if there isn't one:

Find: (=300.*)([^\.])$
Replace: $1$2.

This checks that the last character in the line is NOT a period, and if
that's the case, adds one. If you don't want to add a period after a
right parenthesis you'd change the Find to:

Find: (=300.*)([^\.\)])$

but I think simply removing subfield $c and the punctuation preceding it
ought to be sufficient.

*****************************************
  Walter F. Nickeson, Catalog &
    Metadata Management Librarian
  Rush Rhees Library
  University of Rochester
  Rochester, NY  14627-0055
  [log in to unmask] 
  (585) 273-2326  fax: (585) 273-1032
***************************************** 

________________________________________________________________________

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