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.
I am using Feeds Import with the XPath parser to bring fields into a content type.
Using the 'Rewrite' plugin, I can use any of my other mapped fields as Replacement Patterns in another field.
I'd like to be able to use the Find Replace plugin to search for other fields I'm importing *within* another field and replace them.
For example:
In my second field, [xpathparser:1], I'd want to be able to find [xpathparser:0] and replace it with something else (a word, another field, whatever).
Comments
Comment #1
cmarcera CreditAttribution: cmarcera commentedAdditionally, the Trim plugin could use the same 'Replacement Pattern' functionality.
Comment #2
twistor CreditAttribution: twistor commentedThis is pretty late, my apologies.
For future reference, what you'd want to do is copy the value to another source, rewrite it, the run find/replace.
Adding tokens to every plugin is not something that is going to happen.