CAUTION: Searching is always safe, but you should use the Replace functionality of this tool carefully as it can cause permanent project corruption if mistakes are made!
With a Replace, you will see Search results first, then have a chance to confirm the replacement, or not.
A full database backup is strongly recommended before executing a replace.
The Search and Replace tool allows you to find and replace text across multiple pages and content types on your website. This powerful tool helps maintain consistency and make bulk updates efficiently.
If you want to restrict the search to specific fields, enter them as a comma-separated list. For example: "body,title,field_description" (without quotes). Leave blank to search all fields.
To limit the search to content in specific moderation states, enter them as a comma-separated list. For example: "draft,published" (without quotes). Leave blank to search only the 'published' state.
Click the "Search" button to find all fields in all entities (pages) that contain >0 matches for your search terms.
If you specified a replacement term and you're satisfied with the search results and want to proceed with the replacement, click the "Confirm Replacement" button. This will replace all found instances of the search term with the replacement term, and provide an accounting of the replacements. Note: Due to content sharing, replacement results may not match search results exactly, this is normal/expected.
(\w+)\s+(\w+) - This finds two words with a space between them.$2 $1 - This swaps the order of the two words.