Find and replace values and fix spelling variants
Mammoth has two replace tasks under Describe your transformation > Filter, Label & Replace > Replace. Find & Replace swaps known values for others in one or more text columns. Bulk Replace merges many variants of the same thing (such as "NYC", "New York" and "new york ") into one standard value, with AI-suggested groups and rules that catch new variants on later runs (Standardise spelling variants with Bulk Replace).
Choose Find & Replace or Bulk Replace
| Use | When |
|---|---|
| Find & Replace | You know the exact values to swap, for example "Ltd" to "Limited". |
| Bulk Replace | One concept appears in many forms: company names, product categories, status codes, location labels. |
Replace specific text in one or more columns
- Open Find & Replace.
- In Select columns, choose one or more text columns to search.
- Enter the Find value and what to Replace with. Either can be a Text parameter: click the Val chip and choose Parameter.
- To make several swaps in one task, click Add Values and add more find and replace pairs.
- Set the options below.
- Click Apply.
| Option | What it does |
|---|---|
| Case sensitive | When ticked, only exact case matches are replaced. |
| Entire cell | When ticked, only cells whose whole content matches are replaced. When unticked, matches inside a cell are replaced too. |
| Add Condition | Limits the replacement to rows that meet a condition. |
Find and replace across several selected columns
Select two or more column headers in the data grid, open the multi-column menu and choose Find & Replace. It opens with every selected TEXT column picked and the View's current filter as its condition. It is disabled if no TEXT column is selected (Work in the data grid).
Troubleshooting Find & Replace
| Message or symptom | Cause | Fix |
|---|---|---|
| Find & Replace changed part of a word | Entire cell is unticked | Tick Entire cell |
| Find & Replace missed values with other casing | Case sensitive is ticked | Untick it |
| Find & Replace is disabled in the multi-column menu | No TEXT column is selected | Add a TEXT column to the selection |
Related
- Standardise spelling variants with Bulk Replace: groups, AI suggestions and dynamic rules.
- Label rows, edit cells and fill blanks: set values by condition, or fix single cells.
- Work with text and JSON: change case and trim spaces before replacing.
- Parameters and snippets: bind the find and replace values to a parameter.
Was this page helpful?
Something wrong? support@mammoth.io