You are here

function feeds_tamper_find_replace_regex_callback in Feeds Tamper 6

Same name and namespace in other branches
  1. 7 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 58

Code

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