Terry, it's not working for some reason. I typed it in exactly, and tried
one and two spaces between the (=856 and the ..\$u, since it wasn't clear
from the image.
However I came up with another idea. Since "my" urls all begin with the
same text, I can replace $uhttp://www.washington.eblib.com with $guhttp://www.washington.eblib.com
creating a unique weird subfield. I can then blow away all the other
subfields I don't want, including the leftover $u's. And when I am ready I
can flip the $g's back to $u's.
I am going to try this, since it doesn't involve regular expressions, I am
more likely to remember it and succeed. (Being only a cataloger and not a
programmer, sadly I mean.)
************
Diana Brooking (206) 685-0389
Cataloging Librarian (206) 685-8782 fax
Suzzallo Library [log in to unmask]
University of Washington
Box 352900
Seattle WA 98195-2900
On Mon, 14 Mar 2011, Reese, Terry wrote:
>
> Diana,
>
>
>
> Assuming that the $u/$u pairs are as described above, use the Replace function and add a new line. See
> attached:
>
> [IMAGE]
>
>
>
> --TR
>
>
>
> > -----Original Message-----
>
> > From: MarcEdit support in technical and instructional matters
>
> > [mailto:[log in to unmask]] On Behalf Of D. Brooking
>
> > Sent: Monday, March 14, 2011 4:58 PM
>
> > To: [log in to unmask]
>
> > Subject: [MARCEDIT-L] Subfield into new field and carriage return\
>
> >
>
> > Hi, we have some ugly urls to fix. Basically step one would be to get the UW
>
> > urls into their own 856 fields.
>
> >
>
> > Input:
>
> >
>
> > =856
>
> > 40$uhttp://public.eblib.com/EBLPublic/PublicView.do?ptiID=355872$uhttp://
>
> > www.washington.eblib.com/patron/FullRecord.aspx?p=355872$zClick
>
> > here to view book
>
> >
>
> > I want the $u with www.washington.edu in its own 856. I can do a find and
>
> > replace, but then the =856 does not get its own new line and MARCedit does
>
> > not recognize it as a new line.
>
> >
>
> > =856 40$uhttp://public.eblib... 355872=856
>
> > 40$uhttp://www.washington.eblib
>
> >
>
> > Is there a way to insert a carriage return before the new =856?
>
> >
>
> > I also tried swapping fields, but without success. (I never even mentioned $z
>
> > to it, but that's what it put in a new 856 field, not the $u! I put 856 $u in both
>
> > halves of the swap fields wizard basically to see what would
>
> > happen.)
>
> >
>
> > Thanks for any advice,
>
> >
>
> > ************
>
> > Diana Brooking (206) 685-0389
>
> > Cataloging Librarian (206) 685-8782 fax
>
> > Suzzallo Library [log in to unmask]
>
> > University of Washington
>
> > Box 352900
>
> > Seattle WA 98195-2900
>
> >
>
> > __________________________________________________________
>
> > ______________
>
> >
>
> > 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]
>
>
>
________________________________________________________________________
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]
|