Subject: | |
From: | |
Reply To: | |
Date: | Thu, 28 Mar 2019 22:52:50 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I would try the Delete Field tool, and delete all instances where 020$a contains exactly ten “digits” (including the possibility of an upper or lower case X as the mod-11 check digit) followed by an end-of-field regex special character ($) or another subfield (an escaped literal dollar sign, \$) like an 020$q.
The .{6} matches the two blank spaces after a tag number in the .mrk human-readable format, two blank indicators and the subfield “a” delimiter and letter.
Find: =020.{6}[1-9Xx]{10}[$\$]
[x] Use regular expressions
DougR
Sent from my mobile, which is solely responsible for all nonsensical auto-corrections.
> On Mar 28, 2019, at 4:25 PM, Steve Duffy <[log in to unmask]> wrote:
>
> Hi,
> Absolutely new to all of this so apologies if its answered somewhere else.
> I can't code to save myself and I suspect that I'll need a Regular Expression to achieve what I need (and I have no idea how to construct one) - if there's an easier way I'll take that too.
>
> What I need is to be able to do is remove all 10 digit ISBNs (020 field) while keeping all the 13 digit ISBNs
> If anyone is able to help, I'd be greatly appreciative
>
> cheers
> steve
>
> ________________________________________________________________________
>
> 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]
|
|
|