Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I needed to replace multiple "keys" in the same field from a large record set to the desired matching "values" so it would map correctly to the taxonomy title and or node title.
Just plop the following include into your plugins subdirectory and you are good to go.
Comment | File | Size | Author |
---|---|---|---|
find_replace_list.inc_.txt | 3.48 KB | emptyvoid |
Comments
Comment #1
emptyvoid CreditAttribution: emptyvoid commentedOh and obviously remove the "_.txt"
Comment #2
irgnet CreditAttribution: irgnet commentedThis not working!
Comment #3
web226 CreditAttribution: web226 commentedThank you!
This worked for me when I switched off "Replace only once" in the plugin settings
I Saved a lot of time by using this plugin.
Comment #4
twistor CreditAttribution: twistor commentedI would if this could be integrated into the existing plugin.
Comment #5
mfrosch CreditAttribution: mfrosch commentedHi,
thanks for the plugin.
But i received some errors because the regex_find on preg replace wasn't wrapped in /.
So I added following on line 98:
Cheers,
Matthias
Comment #6
quinns CreditAttribution: quinns commentedThank you for this, it was just what I needed!