# Batch processing to search and replace in all posts

**URL:** https://meta.discourse.org/t/batch-processing-to-search-and-replace-in-all-posts/33621
**Category:** Development
**Tags:** rest-api
**Created:** [2015年九月22日 23:56 UTC](https://meta.discourse.org/t/batch-processing-to-search-and-replace-in-all-posts/33621 "2015-09-22T23:56:03Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2016年八月17日 10:24 UTC](https://meta.discourse.org/t/batch-processing-to-search-and-replace-in-all-posts/33621/7 "2016-08-17T10:24:55Z")

</div>

> [@codinghorror](#):
>
> rake task that does string replacements scoped to just posts

Okay, we have one now:

> [@Replace a string in all posts](https://meta.discourse.org/t/remap-all-posts-matching-a-string/48729):
>
> bookmark This guide explains how to replace a string in all posts within a Discourse instance. person_raising_hand Required user level: System Administrator warning Console Access Required Want to replace a string in all the posts on a site? Let’s get started! warning WARNING: We strongly recommend you take a full backup before proceeding, and make sure your string replacement is specific enough to affect only the places you want it to. If this string replacement goes wrong, every…

---

_[View the full topic](https://meta.discourse.org/t/batch-processing-to-search-and-replace-in-all-posts/33621)._
