You are here

function feeds_tamper_find_replace_regex_callback in Feeds Tamper 7

Same name and namespace in other branches
  1. 6 plugins/find_replace_regex.inc \feeds_tamper_find_replace_regex_callback()
1 string reference to 'feeds_tamper_find_replace_regex_callback'
find_replace_regex.inc in plugins/find_replace_regex.inc

File

plugins/find_replace_regex.inc, line 66

Code

function feeds_tamper_find_replace_regex_callback($result, $item_key, $element_key, &$field, $settings, $source) {
  $field = preg_replace($settings['find'], $settings['replace'], $field, $settings['real_limit']);
}