# What's the fastest way to replace strings with multiple regexes in 1 million posts?

**URL:** <https://meta.discourse.org/t/whats-the-fastest-way-to-replace-strings-with-multiple-regexes-in-1-million-posts/161749>\
**Category:** Product Support\
**Created:** [August 22, 2020, 10:21am UTC](https://meta.discourse.org/t/whats-the-fastest-way-to-replace-strings-with-multiple-regexes-in-1-million-posts/161749 "2020-08-22T10:21:13Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [August 22, 2020, 3:12pm UTC](https://meta.discourse.org/t/whats-the-fastest-way-to-replace-strings-with-multiple-regexes-in-1-million-posts/161749/8 "2020-08-22T15:12:11Z")

</div>

If it’s at all possible, it’s much, much easier to get the importer to fix up those things. If you’ve gone live already, it’s just going to be long and painful. You could contrive to have an import script that modifies the already-imported posts, but I’m not aware of any models for how to do it.

---

_[View the full topic](https://meta.discourse.org/t/whats-the-fastest-way-to-replace-strings-with-multiple-regexes-in-1-million-posts/161749)._
