Subject: | |
From: | |
Reply To: | |
Date: | Mon, 26 Sep 2016 21:21:51 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Without seeing your replacement string too, not sure. But this is how I'd write this:
Find: (=520.{4}\$.)([A-Z\W]*)(.*)
Replace: $1$$2[your new data]
Check use regular expressions
You have to use $$2 to represent the new subfield, if you use $2, it would just reprint your data.
--tr
-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of deb cady
Sent: Monday, September 26, 2016 10:36 AM
To: [log in to unmask]
Subject: [MARCEDIT-L] find and replace not working as expected
Hello,
I am attempting to isolate and delete the uppercase text at the beginning of the 520 field.
in testing, this string will find the correct text :
([A-Z]*[\.,:,-])(.*)
however when I attempt to replace the text with $2, nothing happens. I just get a text not found error. It also fails if I begin the find with (=520.{4})
Any suggestions?
Thanks, deb
________________________________________________________________________
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]
|
|
|