Regex preview works but database not updated
-
My client unintentionally pastes non-breaking spaces into his WordPress pages, so I want to find #\x{A0}# (non-breaking space) and replace with ” ” (regular space). The Search button works, and the Replace button works, showing a preview of what looks like spaces being replaced with spaces. However, when I click Replace & Save, while it says “200 occurrences replaced”, no pages have actually been updated. I can run the Search again and it will still find 200 occurrences. I then tried replacing #\x{A0}# with ZZ38ZZ and again it said occurrences replaced but nothing had changed. How can I replace all these non-speaking spaces with something else?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Regex preview works but database not updated’ is closed to new replies.