BulkAttributeRemover
Removes all attributes on incoming features that match a given regular expression. This transformer can be used to remove large numbers of attributes that have common naming.
See the StringSearcher for more information on regular expressions.
Input Ports
Features with attributes.
Output Ports
Features with attributes matching the specified regular expression removed.
Parameters
A regular expression that specifies what string an attribute name needs to contain for it to be removed. For example, to remove AutoCAD format attributes from a feature, specify: ^autocad_.*
Whether to remove All Attributes or All Except FME Attributes. FME attributes are prepended with “fme_”.
Usage Notes
- Use the AttributeRemover to remove selected individual attributes from a feature.
- Use the AttributeKeeper to keep selected individual attributes on a feature.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
Additional Resources
Test regular expressions with the Regex Editor in the parameter menu.
Transformer History
This transformer replaces the AttributeExpressionRemover.
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.
Tags Keywords: AttributeExpressionRemover