Subject: | |
From: | |
Reply To: | |
Date: | Thu, 14 Oct 2021 18:57:50 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I see two things wrong. First, (=999.*Education*) will match "Education" and "Educationn" but not "Educationa". The "n*" is saying "any number of 'n' characters. I believe what you want is (=999.*Education.*), which will match Education followed by any characters.
The second things wrong is (=999.*Education*) OR (=999.*Educational*). Assuming that you really mean (=999.*Education.*) OR (=999.*Educational.*), the second parenthetical statement is superfluous. The first statement, (=999.*Education*), will already match both Education and Educational, followed by any other characters or words.
Steve McDonald
[log in to unmask]
-----Original Message-----
From: MarcEdit support in technical and instructional matters <[log in to unmask]> On Behalf Of Diane Kinney
Sent: Thursday, October 14, 2021 1:14 PM
To: [log in to unmask]
Subject: [MARCEDIT-L] Using "OR" with "Find/Replace If"
Hi, all! Thanks for any help you can give me.
Here's the situation:
-----
Find: (=710.*)(\$b)(School)(.*)
Replace: $1$2School of Education$4
The "Perform Find/Replace If" is always set to REGEX, and under Search Options "Use regular expressions" is always checked. But:
This works: (=999.*Education*)
This works: (=999.*Educational*)
This doesn't work: (=999.*Education*) OR (=999.*Educational*)
-----
Can anyone spot something I'm doing wrong?
Diane Kinney [she/her/hers]
Metadata Technician
Metadata & Processing Services
Drexel University Libraries
Drexel University
3300 Market Street
W.W. Hagerty Library, Rm 112D
Philadelphia, PA 19104
Tel: 215.895.6845 | Fax: 215.895.2070
library.drexel.edu
________________________________________________________________________
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]
|
|
|