Title: Replacing  &amp;nbsp
Last modified: May 31, 2018

---

# Replacing  &nbsp

 *  [Rocket Apps](https://wordpress.org/support/users/mikeyott/)
 * (@mikeyott)
 * [8 years ago](https://wordpress.org/support/topic/replacing-2/)
 * I’ve inherited a database where the client has many posts with `&nbsp;` instead
   of spaces. But for some reason the search and replace tool does not find any 
   instance of `&nbsp;` despite the fact I can clearly see them in the database.
 * My intention is to simply replace all instances of `&nbsp;` with a space.
 * Is there any way to get around this limitation?
    -  This topic was modified 8 years ago by [Rocket Apps](https://wordpress.org/support/users/mikeyott/).

Viewing 1 replies (of 1 total)

 *  [andymiller](https://wordpress.org/support/users/andymiller/)
 * (@andymiller)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/replacing-2/#post-10586635)
 * I had the same issue – but the other way round, I wanted to replace certain characters
   that weren’t displaying properly with html entities.
 * So far the only way I’ve found of doing this is an SQL query in phpMyAdmin. For
   example:
 * `update wp_posts set post_content = replace(post_content,'ž','ž')`
 * If anyone from Delicious Brains is reading this, any chance of adding a way to
   deal with this in a future version?
 * (Sorry, I can’t make the html entity show as an html entity!
    -  This reply was modified 7 years, 10 months ago by [andymiller](https://wordpress.org/support/users/andymiller/).

Viewing 1 replies (of 1 total)

The topic ‘Replacing  &nbsp’ is closed to new replies.

 * ![](https://ps.w.org/better-search-replace/assets/icon-256x256.png?rev=2706527)
 * [Better Search Replace](https://wordpress.org/plugins/better-search-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-search-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-search-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/better-search-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-search-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-search-replace/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [andymiller](https://wordpress.org/support/users/andymiller/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/replacing-2/#post-10586635)
 * Status: not resolved