Okay: A sample 001 looks like this in the editor:
=001 1466860\
MarcEdit version is 5.1.....
I did tick the "regular expression" box. I even tried permutations like
(=001 )([a-zA-Z0-9]*)(\\*$)
and
(=001 )([a-zA-Z0-9]*)([:blank:]*$)
but it would not find them (should I have used {} instead of ()? )
c.
On Mon, 23 Nov 2009, Reese, Terry wrote:
> Date: Mon, 23 Nov 2009 21:24:46 -0800
> From: "Reese, Terry" <[log in to unmask]>
> Reply-To: MarcEdit support in technical and instructional matters
> <[log in to unmask]>
> To: [log in to unmask]
> Subject: Re: Deleting whitespace at the end of a line
>
> Did you mark it as a regular expression replacement? Can I see what your 001 looks like -- because this works when I gave it a quick test. Oh, and what version of MarcEdit are you using? 5 or 4 -- it makes a difference.
>
> --TR
>
> *************************************************
> Terry Reese
> The Gray Family Chair for Innovative Library Services
> Oregon State University Libraries
> Corvallis, OR 97331
> tel: 541-737-6384
> email: [log in to unmask]
> http: http://oregonstate.edu/~reeset
> *************************************************
>
> ________________________________
>
> From: MarcEdit support in technical and instructional matters on behalf of carlos
> Sent: Mon 11/23/2009 9:01 PM
> To: [log in to unmask]
> Subject: Re: Deleting whitespace at the end of a line
>
>
>
> Thanks Terry
>
> I think I can follow the logic of this:
> find
> the block (=001 )
> any sequence of alphanumericals
> any sequence of spaces to the end of the line
> replace with
> the block (=001 )
> any sequence of alphanumericals
>
> Unfortunately it doesn't seem to work ("0 modifications were made").
>
> c.
>
>
> On Mon, 23 Nov 2009, Reese, Terry wrote:
>
> > Date: Mon, 23 Nov 2009 17:26:08 -0800
> > From: "Reese, Terry" <[log in to unmask]>
> > Reply-To: MarcEdit support in technical and instructional matters
> > <[log in to unmask]>
> > To: [log in to unmask]
> > Subject: Re: Deleting whitespace at the end of a line
> >
> > Assuming that the 001 is like this:
> > =001 12321312[spaces]
> >
> > you could do this in the normal replace:
> > Find: (=001 )([a-zA-Z0-9]*)( *$)
> > Replace: $1$2
> >
> > Check the regular expression option
> >
> > Replace All.
> >
> > --TR
> >
> > *************************************************
> > Terry Reese
> > The Gray Family Chair for Innovative Library Services
> > Oregon State University Libraries
> > Corvallis, OR 97331
> > tel: 541-737-6384
> > email: [log in to unmask]
> > http: http://oregonstate.edu/~reeset
> > *************************************************
> >
> >
> >
> > -----Original Message-----
> > From: MarcEdit support in technical and instructional matters on behalf of carlos
> > Sent: Mon 11/23/2009 3:50 PM
> > To: [log in to unmask]
> > Subject: Deleting whitespace at the end of a line
> >
> > Hi folks
> >
> > We've been doing a lot of database cleanup so that we can export records
> > to the Australian National Bibliographic Database (ANBD, run by the
> > National Library of Australia). One of the aims o all this cleanup is to
> > make sure as many of our records match existing ANBD records as possible.
> >
> > It's possible that trailing blank spaces in the 001 tag may make matching
> > difficult. How would we go about deleting blank spaces at the end of 001
> > using MarcEdit and regular expressions?
> >
> > Regard
> > Carlos.
> >
> >
>
> --
> ___________________
>
> Carlos Lopez
> Assistant Cataloguer
> The Dalton McCaughey Library
> 1 Morrison Close
> Parkville, Vic. 3052
> Australia
> Ph: +61 3 93408885
> Fax: +61 3 93408889
> www.dml.vic.edu.au
>
> ________________________________________________________________________
>
> 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]
>
--
___________________
Carlos Lopez
Assistant Cataloguer
The Dalton McCaughey Library
1 Morrison Close
Parkville, Vic. 3052
Australia
Ph: +61 3 93408885
Fax: +61 3 93408889
www.dml.vic.edu.au
________________________________________________________________________
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]
|