MARCEDIT-L Archives

September 2016

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:
Terry Reese <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Thu, 22 Sep 2016 21:11:15 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (67 lines)
Assuming you are looking to remove a period, ? or asterisk, you need to
escape these.  Otherwise, it will match any character -- which is what you
have happening here.  But I guess I'm not quite sure what this is supposed
to be doing.

--tr

-----Original Message-----
From: MarcEdit support in technical and instructional matters
[mailto:[log in to unmask]] On Behalf Of Christine Sloan
Sent: Thursday, September 22, 2016 8:57 PM
To: [log in to unmask]
Subject: [MARCEDIT-L] Usinf Regular expression in Edit Subfield to clean up
ISBN

Hi!

I'm having problems with a regular expression which I think worked the last
time I used it (about 2 years ago)

I'm trying to remove invalid characters from 020$a using the Edit subfield
tool:

Field: 020
Subfield: a
Field data: \(.*?\)
Replace with: <blank>
Tick Use regular expression
Click Remove text

This is now unfortunately removing the a subfield code so that: =020
\\$a0385609841 is changed to: =020  \\$0385609841.

What am I doing wrong?

Cheers,
Chris

-- 
Chris Sloan                        Systems Librarian
Barr Smith Library          email: [log in to unmask]
University of Adelaide  Fax +61-8-8313-4369
South Australia 5005.     P: (08) 8313-5853 M: 0419 821 285

CRICOS Provider Number 00123M
-----------------------------------------------------------
IMPORTANT: This message may contain confidential or legally privileged
information.
If you think it was sent to you by mistake, please delete all copies and
advise the sender.
For the purposes of the SPAM Act 2003, this email is authorised by The
University of Adelaide.

Think green: read on the screen.

________________________________________________________________________

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