# How to replace a string/character in topic title?

**URL:** <https://meta.discourse.org/t/how-to-replace-a-string-character-in-topic-title/72922>\
**Category:** Product Support\
**Created:** [2017 年 10 月 27 日午前 10:44 UTC](https://meta.discourse.org/t/how-to-replace-a-string-character-in-topic-title/72922 "2017-10-27T10:44:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [2017 年 10 月 27 日午後 2:04 UTC](https://meta.discourse.org/t/how-to-replace-a-string-character-in-topic-title/72922/3 "2017-10-27T14:04:17Z")

</div>

the regular expression for title should be something like this:  
`<title>()</title>`

how can I search in title tags in the remap command?

rake posts:remap[“-”," "]

---

_[View the full topic](https://meta.discourse.org/t/how-to-replace-a-string-character-in-topic-title/72922)._
