Subject: | |
From: | |
Reply To: | |
Date: | Tue, 1 Dec 2009 15:45:19 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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]
|
|
|