From: MarcEdit support in technical and instructional matters <[log in to unmask]> On Behalf Of Terry Reese Sent: Tuesday, April 24, 2018 9:16 AM > > Check your replace statement. See $21 - this is the problem. You are meaning - group 2 then add a 1, but the > expression engine sees group 21. You have to name the group. So, it would look like this: > Find: (=008.{2})(?<stem>.{33})(0)(.*) > Replace: $1${stem}1$3 In addition to naming groups, I've had luck with adding braces around the backreference number. For instance, when adding "1 online resource" and parentheses to 300 fields that only contain $a data, this is what my find and replace fields look like--note the ${1}: FIND: (=300 ..\$a)(?!1 electronic)([^$]*)$ REPLACE: ${1}1 electronic resource ($2) [x] Use regular expressions I might have picked up this tip from here (last paragraph in the first section): http://secure-web.cisco.com/1fUkKONEUt6Xmc-FmNkJPfTCSAAvJX8C_eIQXcRhn_rPEwG9kENrXH8rgTpThtebGO4aET_tmzB0e-bwvvqNcDUN1v3yjbKKt4k-Zo5U9bGbmBNxw4kvpAWFAH4u8K0UsDgPL9E6yFxY9qhxeGN3ZDpi4YZ_vhzyM6RWiGE-_UMQc1UH8fGdiEwEUsF7sZsgMXG25gR_VtlS4_v8lSezJdS6ZbVyNkrL4-Bvtslb6K1Y9zedPevLu-c3rkcSV-avk6xiVLebaDcmBZTgC9LSDVQEyInbECSVdiBfw1u73HSGWUYvAuwaEUHdNBC21NjznEYTTmL7KNgo0ShKEzJ9cI8yAt6AA-AM7j5N5sCp0zJi2iz28HttNUqL2rvGqCYAdKDGs5Sv7bgBVElwOSAALGg/http%3A%2F%2Fwww.regular-expressions.info%2Freplacebackref.html -- Mark K. Ehlert O'Shaughnessy-Frey Library Cataloging and Metadata University of St. Thomas Librarian 2115 Summit Avenue St. Paul, MN 55105 <http://secure-web.cisco.com/1pOfTtnl6uUb1Xwpj1Wn8kQl09gQa4zzCgaGPACOUCsaI95XvHpuzJyr3bbmQtyOR5miyHRJFGrji_um-yJ6YD06l6akhclSkB9enE4m5D5IcW86i_yspmHqm2lQLRwvH71IitWwVuNFhncCIocTVj5ZdNUcOvYMvl33rAV2RwBvhwV4c9oB68Vvgx4KGnYafaeMkT34Vn2dOITl3dsQiqexa8A6Jd6X5rUq5hV8uvNWc_JMx3wyFUjR4_3KNImHg_aRLG5Q9mkK2ktJQD5QfV6a8f6dnB6oposTGp0an9q-sLRs_v9rHTxDIfcGRZJIci9DdW1LDM8g6FEBHv1byEPE9yO9vG222mNRdhl__WA99HYGR6w-EVh1mw-RWvBBW47CygnZOglxKZjWDer8fBw/http%3A%2F%2Fwww.stthomas.edu%2Flibraries%2F> - Alma: NA02 // Primo: MT NA01 "Experience is by industry achieved // And perfected by the swift course of time"--Shakespeare, "Two Gentlemen of Verona," Act I, Scene iii ________________________________________________________________________ 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]