Title: Find And Replace Text
Author: Jesse Lau
Published: <strong>2018 年 9 月 29 日</strong>
Last modified: 2018 年 9 月 29 日

---

搜索插件

![](https://ps.w.org/find-and-replace-text/assets/banner-772x250.png?rev=1948889)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/find-and-replace-text/assets/icon-128x128.png?rev=1948889)

# Find And Replace Text

 作者：[Jesse Lau](https://profiles.wordpress.org/jesselau/)

[下载](https://downloads.wordpress.org/plugin/find-and-replace-text.zip)

 * [详情](https://cn.wordpress.org/plugins/find-and-replace-text/#description)
 * [评价](https://cn.wordpress.org/plugins/find-and-replace-text/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/find-and-replace-text/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/find-and-replace-text/#developers)

 [支持](https://wordpress.org/support/plugin/find-and-replace-text/)

## 描述

[Find And Replace Text](https://jesselau.com/wordpress-plugin-find-and-replace-text/)
plugin allows you to install a find & replace button to your WordPress Editor.

It supports batch finding and replacing string when you edit your posts either in
TinyMCE visual or text mode.

Please note the plugin in TinyMCE visual mode also find and replace string in raw
file. Which means that you should make sure there are not HTML tag to find and replace.

For example, if you find and replace “href” to “something else” in Visual mode. 
The plugin also change every “href” to “something else” if the HTML codes have links
with “href” even you can not see the “href” string on the visual mode screen.

So please make sure that you are not replacing HTML tags in Visual mode. Or you 
can start from Text mode.

Remember saving your post before your find and replace anything. So even you make
something mess you can always get revisions back.

## 屏幕截图

 * [[
 * Find & Replace button above the Editor.
 * [[
 * Find what.
 * [[
 * Replace with.
 * [[
 * Confirm to replace.

## 安装

 1. Go to the Add New plugins screen in your WordPress Dashboard
 2. Click the upload tab
 3. Browse for the plugin file (find-and-replace-text.zip) on your computer
 4. Click “Install Now” and then hit the activate button

## 常见问题

  Where can I get help?

[Find And Replace Text](https://jesselau.com/wordpress-plugin-find-and-replace-text/)
plugin is supported via [the wordpress.org support forum](https://wordpress.org/support/plugin/find-and-replace-text).
Or you can go to [Find And Replace Text page](https://jesselau.com/wordpress-plugin-find-and-replace-text/).

  What if I replaced wrong strings for my whole post?

Don’t worry. You can always press Ctrl-Z in TinyMCE visual mode to undo your replacement.

## 评价

![](https://secure.gravatar.com/avatar/25afefee7b44c0338c40980ec7e94b5cead8db3fdb0f226c9867a9e5b8ff7dff?
s=60&d=retro&r=g)

### 󠀁[Just what I needed!](https://wordpress.org/support/topic/just-what-i-needed-1136/)󠁿

 [Charlie](https://profiles.wordpress.org/cdarling/) 2021 年 9 月 17 日

This makes some of our page update chores much easier, in a way that “database find
and replace” plug-ins can’t, especially thanks to its ability to find-and-replace
within HTML tags. This plug-in is really worth keeping up to date! I’m using it 
with WP 5.8.1 (using the Classic Editor) with no problem. Hopefully, the code is
simple enough that it will keep working for a long, long time.

![](https://secure.gravatar.com/avatar/e3b1514b54f59dd7dcbe7eb71d9198c3fb6ace8f26ae9173f8eaeaeee681695d?
s=60&d=retro&r=g)

### 󠀁[This is great plugin. Please, keep updating it!](https://wordpress.org/support/topic/this-is-great-plugin-please-keep-updating-it/)󠁿

 [aberniz](https://profiles.wordpress.org/aberniz/) 2021 年 1 月 11 日

Thank you so much for creating this great plugin. I use it in all my project. It
makes my life easier. Thanks!

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/find-and-replace-text/reviews/)

## 贡献者及开发者

「Find And Replace Text」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jesse Lau ](https://profiles.wordpress.org/jesselau/)

「Find And Replace Text」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/find-and-replace-text/contributors)
为本插件所做的贡献。

[帮助将「Find And Replace Text」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/find-and-replace-text)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/find-and-replace-text/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/find-and-replace-text/)，或通过[RSS](https://plugins.trac.wordpress.org/log/find-and-replace-text/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/find-and-replace-text/)。

## 更新日志

#### 2.0

 * Support both visual and text mode. Rewrite code with JQuery. Add media button.

#### 1.0

 * Support text mode. add button to quick tag.

## 额外信息

 *  版本 **2.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **400+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/find-and-replace-text/) 、 [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/find-and-replace-text/)
   和 [English (US)](https://wordpress.org/plugins/find-and-replace-text/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/find-and-replace-text)
 * 标签
 * [editor](https://cn.wordpress.org/plugins/tags/editor/)[find](https://cn.wordpress.org/plugins/tags/find/)
   [replace](https://cn.wordpress.org/plugins/tags/replace/)[tinyMCE](https://cn.wordpress.org/plugins/tags/tinymce/)
 *  [高级视图](https://cn.wordpress.org/plugins/find-and-replace-text/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/find-and-replace-text/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/find-and-replace-text/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/find-and-replace-text/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/find-and-replace-text/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/find-and-replace-text/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/find-and-replace-text/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/find-and-replace-text/reviews/)

## 贡献者

 *   [ Jesse Lau ](https://profiles.wordpress.org/jesselau/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/find-and-replace-text/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://jesselau.com/en/)