MARCEDIT-L Archives

December 2024

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:
Sedrick Jefferson <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Sat, 21 Dec 2024 15:55:28 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (1 lines)
Hello Elizabeth,

I looked through this email thread and found the following.

This adds leading zeros.

For the 6 and 7 digit control numbers, you can use similar expressions
Find:                                  (=001  )(\d{7})
Replace with:                  $1ocm0$2
  [x]  Use regular expressions

Find:                                  (=001  )(\d{6})
Replace with:                  $1ocm00$2
  [x]  Use regular expressions



This do not add leading zeros, but you could probably use the idea from above if needed.

For 10 or more-digit OCLC numbers 1000000000 and higher:
Find:                                  (=001  )(\d{10})
Replace with:                  $1on$2
  [x]  Use regular expressions
 
9-digit OCLC numbers 100000000 and higher:
Find:                                  (=001  )(\d{9})
Replace with:                  $1ocn$2
  [x]  Use regular expressions
 
8-digit OCLC numbers 1 through 99999999
Find:                                  (=001  )(\d{8})
Replace with:                  $1ocm$2
  [x]  Use regular expressions




Sedrick Jefferson
Applications Systems Analyst
Auburn University Libraries
Collections, Discovery, and Resource Sharing
O: 334.844.1724





-----Original Message-----
From: MarcEdit support in technical and instructional matters <[log in to unmask]> On Behalf Of Elizabeth McDonald
Sent: Friday, December 20, 2024 4:21 PM
To: [log in to unmask]
Subject: [EXT] Re: [MARCEDIT-L] Adding ocm, ocn, and on to 001

CAUTION: Email Originated Outside of Auburn.

Hi,  

I found this thread in the archives as I have a similar issue.  I however, do not have leading zeros.

Would it be the same.  can I add leading zeros to the number?

thank you,

Elizabeth

________________________________________________________________________

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