Field Renamer
The Field Renamer processor renames fields in a record using the selected method, such as replacing a specified string, removing a prefix, or replacing strings using regular expressions.
You can use multiple rename methods in a single processor. When you specify multiple rename configurations, the processor performs each rename configuration before moving onto the next, in the listed order.
When you configure a rename configuration, you specify the rename method to use and related properties.
Rename Methods
The
Field Renamer can rename fields using the following methods:
- Replace field name
- Replaces an entire field name. You specify the name of the field to find and the replacement name. Use this method to rename a single field.
- Remove prefix
- Removes a specified prefix. You specify one or more characters to remove from the beginning of field names.
- Remove suffix
- Removes a specified suffix. You specify one or more characters to remove from the end of field names.
- Remove text (any location)
- Removes a set of characters from any location in field names. You specify one or more characters to remove.
- Find and replace by regular expression
- Replaces a set of characters using regular expressions. You specify a regular expression of the pattern to find. The find pattern is case sensitive by default, but you can configure the processor to ignore the case. Then, you specify the pattern for the replacement.
- Find and replace by characters
- Replaces a character with a specified character. You specify the character to find and the replacement character.
- Change case
- Changes the case of all field names. You specify whether field names should be lowercase, upper case, or title case. Title case capitalizes the first letter of each word.
Configuring a Field Renamer Processor
Configure a Field Renamer processor to rename one or more fields in records.