Hi all Never mind - it looks as though there is no need to escape : nor / when modifying strings with MARC modification templates. With kind regards from the Dalton McCaughey Library Team Carlos Lopez Dalton McCaughey Library | 29 College Crescent, Parkville, VICTORIA 3052 Ph: 03 9340 8888 ext.1 | library@dml.vic.edu.au | library.dmlibrary.org.au -----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Carlos Lopez Sent: Wednesday, 24 June 2020 10:21 AM To: koha <koha@lists.katipo.co.nz> Subject: [Koha] MARC modification templates question Hi all We're about to batch change several thousand records because we're modifying the URL used to access our proxy server. To do this should we do the following? Add a new MARC modification template Add a new action to it: Copy and Replace > Every > 856 > u > to field > 856 > u > regex > s/[portion of URL to be changed]/[replacement string for new URL]/g > if > field > 856 > u > matches > m/[portion of URL to be changed]/ >regex Does that look right? Also, with escaping the strings to find/replace, would the regex look like this (assuming that we're looking for 'http://proxy.dml.vic.edu.au:2048/' and replacing it with 'https://proxy.dml.vic.edu.au/')? s/http\:\/\/proxy.dml.vic.edu.au\:2048\//https\:\/\/proxy.dml.vic.edu.au\//g With kind regards from the Dalton McCaughey Library Team Carlos Lopez Dalton McCaughey Library | 29 College Crescent, Parkville, VICTORIA 3052 Ph: 03 9340 8888 ext.1 | library@dml.vic.edu.au<mailto:library@dml.vic.edu.au> | library.dmlibrary.org.au _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha