If you want to delete all 035 fields and *do not* contain the ocolc -- you can do the following:
1) Use Add/Delete Fields:
2) Field: 035
3) Field Data: ^((?!OCoLC).)*$
4) Check User Regular Expression
5) Delete Field
This will delete all fields that does not contain OCoLC.
--TR
> -----Original Message-----
> From: MarcEdit support in technical and instructional matters
> [mailto:[log in to unmask]] On Behalf Of carlos
> Sent: Monday, December 14, 2009 3:34 PM
> To: [log in to unmask]
> Subject: Re: [MARCEDIT-L] Deleting fields conditionally using a regex
>
> Thanks Terry, but it's the inverse I want; I want to delete any 035s
> that
> do not have (OCoLC) in them. I might instead move any info from 035s
> that
> have (OCoLC) to some other holding tag (maybe 935) then delete all
> 035s,
> then move the OCLC data back to 035.
>
> c.
>
> On Mon, 14 Dec 2009, Reese, Terry wrote:
>
> > Date: Mon, 14 Dec 2009 15:05:13 -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: [MARCEDIT-L] Deleting fields conditionally using a regex
> >
> > What tool are you using? You should use the Delete Field function --
> from there -- you'd enter 035 as your field, then in Find field, you
> could enter just the string you wished to find, i.e., OCoLC -- and
> ignore everything else, i.e., no need for a regular expression.
> >
> > --TR
> >
> > > -----Original Message-----
> > > From: MarcEdit support in technical and instructional matters
> > > [mailto:[log in to unmask]] On Behalf Of carlos
> > > Sent: Monday, December 14, 2009 2:13 PM
> > > To: [log in to unmask]
> > > Subject: [MARCEDIT-L] Deleting fields conditionally using a regex
> > >
> > > Hi all
> > >
> > > Can anyone tell me whether this is a valid regular expression?
> > >
> > > (=035 )!($a\(OCoLC\))([0-9]*)
> > >
> > > I'm trying to delete all 035 tags that do not have "$a(OCoLC)" in
> them.
> > >
> > > c.
> > >
> > > --
> > > ___________________
> > >
> > > 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 MARCEDIT-L-
> > > [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 MARCEDIT-L-
> [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 MARCEDIT-L-
> [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]
|