Title: Replace &#039; with \&#039;
Last modified: August 30, 2016

---

# Replace ' with \'

 *  Resolved [Raouf Shabayek](https://wordpress.org/support/users/wajeez/)
 * (@wajeez)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/replace-with-2/)
 * While trying to replace the tedious â€™ with ‘, the plugin actually replaced 
   it with \’s
 * Can I lose the slash? I don’t need it.
 * [https://wordpress.org/plugins/better-search-replace/](https://wordpress.org/plugins/better-search-replace/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Contributor [Matt Shaw](https://wordpress.org/support/users/mattshaw/)
 * (@mattshaw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605760)
 * Hi,
 * It looks like WordPress is forcing Magic Quotes, which caused your issue, currently
   working on a fix and will have that out shortly.
 *  Plugin Contributor [Matt Shaw](https://wordpress.org/support/users/mattshaw/)
 * (@mattshaw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605803)
 * Hi,
 * This has been fixed in development, you can download the hotfix [here](https://github.com/ExpandedFronts/Better-Search-Replace/archive/hotfix/stripslashes.zip).
 * This will allow you to search/replace single quotes and backslashes without WordPress
   escaping them. (You should be able to use this version to replace “\'” with “‘”.
 * I’m marking this as resolved, and will release this along with a few other updates
   into the main repository on Monday.
 * Let me know if you run into any further issues. Thanks!
 *  Thread Starter [Raouf Shabayek](https://wordpress.org/support/users/wajeez/)
 * (@wajeez)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605812)
 * Hi,
 * I tried the “\s” and it didn’t work. Simply it finds 0 match. I’m left with hundreds
   of \s incidents in my posts 🙁
 * Hope your update can search for \s and replace it with ‘s
 * Cheers,
 *  Plugin Contributor [Matt Shaw](https://wordpress.org/support/users/mattshaw/)
 * (@mattshaw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605814)
 * That’s strange, was it not working in the hotfix version?
    [https://github.com/ExpandedFronts/Better-Search-Replace/archive/hotfix/stripslashes.zip](https://github.com/ExpandedFronts/Better-Search-Replace/archive/hotfix/stripslashes.zip)
 * I just tested that on multiple systems and it’s working for me.
 *  Plugin Contributor [Matt Shaw](https://wordpress.org/support/users/mattshaw/)
 * (@mattshaw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605831)
 * Hi,
 * Just following up on this to let you know I released the updates to the main 
   repository.
 * Please update to v1.2.4 and let me know if that fixes the issue. Thanks!
 *  Thread Starter [Raouf Shabayek](https://wordpress.org/support/users/wajeez/)
 * (@wajeez)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605893)
 * YES! Now it works perfectly. Thanks a million for the fast action. Keep it up.
 *  [tolen](https://wordpress.org/support/users/tolen/)
 * (@tolen)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605968)
 * I’m having what I think is the same issue – I’ve installed the fix but still 
   having the problem. I’m trying to search out a possessive word and replace it
   with a possessive word. For example: search for Matt’s and replace it with John’s.
   When I run the search, in the find box it will say Matt/’s and in the replace
   box it will say John/’s
 *  Plugin Contributor [Matt Shaw](https://wordpress.org/support/users/mattshaw/)
 * (@mattshaw)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605970)
 * [@tolen](https://wordpress.org/support/users/tolen/) I’m not able to replicate
   this- can you please shoot me an email to [support@expandedfronts.com](https://wordpress.org/support/topic/replace-with-2/support@expandedfronts.com?output_format=md)
   with the search/replace strings and the debug info from the “Help” tab?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Replace ' with \'’ 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/)

 * 8 replies
 * 3 participants
 * Last reply from: [Matt Shaw](https://wordpress.org/support/users/mattshaw/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/replace-with-2/#post-6605970)
 * Status: resolved