MARCEDIT-L Archives

December 2009

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:
Michael J Dulock <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Tue, 1 Dec 2009 15:45:19 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
Hi folks,

I've been playing with this for some time and am having no luck. It doesn't
help that what little I can do with regular expressions I learned by
backwards engineering those supplied by others...

Anyway, I'm going to be loading a large number of records from one source
into our catalog, some of which contain a 653 field with multiple keywords
in it. Our policy is to change 653s into 520 1st indicator 0 for subject
strings, which I've done without incident. The problem is that each term is
preceded by a $a, as in:

=520  0\$aAerosols$aComputer Calculations$aDiffuse Solar Radiation$aDirect
Solar Radiation

I'd like to replace all but the first $a with a semicolon or comma, but I
can't figure out how to get a regular expression to do it (if one can). It
would also work to replace all the $a, then I could put the initial required
one back in by replacing "=520  0\;" with "=520  0\$a".

I realize this may be too variable a characteristic for a regular expression
to fix, but I thought I'd try the collective wisdom before I go through and
manually fix them.

Any ideas?

Thanks much in advance,

Michael


____________________________________________
Michael Dulock
Assistant Professor
Metadata Librarian

University of Colorado at Boulder Libraries Cataloging & Metadata Services
Department
184 UCB, 1720 Pleasant Street
Boulder, Colorado 80309-0184
 
Phone: 303-492-5518
Fax: 303-492-0494
E-mail: [log in to unmask]
http://ucblibraries.colorado.edu/___________________________________________
_ 

________________________________________________________________________

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