MARCEDIT-L Archives

November 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:
Joel Marchesoni <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Tue, 24 Nov 2009 08:56:54 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (105 lines)
Carlos,

Make sure that in the second set of parenthesis in the regular expression you're searching for that you have a space before the asterisk.  When it came through the first time it wasn't easy to see the space in my email.

Joel

-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of carlos
Sent: Tuesday, November 24, 2009 12:01 AM
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]

ATOM RSS1 RSS2