Subject: | |
From: | |
Reply To: | |
Date: | Wed, 19 May 2010 17:27:37 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Wednesday, May 19, 2010 4:20 PM, Michael J Dulock wrote:
>I want to remove parentheticals such as "(pbk.)" and "(e-book)" from 020 fields in a set of records. I know it can be done with Find/Replace and a regular expression, but I can't figure out the syntax. I'm pretty novice with regular expressions; I really only "create" them when I can figure out how to backwards-engineer an existing one and tweak it slightly. In this case I'm coming up empty. Does anyone have a useful expression handy?<
Perhaps:
Find: =020 \\\\\$a\D*(\d{9,12}[X\d])\b.*$
Replace with: =020 \\$a$1
Check Use regular expressions.
(Verify that it works properly before implementing in a production system).
Please correct me if I am wrong.
I hope this helps,
Bryan Baldus
Cataloger
Quality Books Inc.
The Best of America's Independent Presses
1-800-323-4241x402
[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]
|
|
|