用新内容替换文本模式。
要替换的文本
带替换的文本
工具选项
搜索文本
在文本中查找此模式
输入您想要替换的文本模式。
使用正则表达式查找模式
输入要替换的正则表达式。
替换文本
输入用于替换的模式。
文本替换器
使用这款基于浏览器的简单工具,轻松替换内容中的特定文本。只需输入文本,设置要替换的文本和替换值,即可立即获取更新版本。
文本替换器 示例
点击尝试!
In this example we will replace the word "hello" with the word "hi". This example doesn't use regular expressions.
搜索文本
在文本中查找此模式
输入您想要替换的文本模式。
使用正则表达式查找模式
输入要替换的正则表达式。
替换文本
输入用于替换的模式。
In this example we will replace all numbers in numbers with * using regexp. In the output we will get text with numbers replaced with *.
搜索文本
在文本中查找此模式
输入您想要替换的文本模式。
使用正则表达式查找模式
输入要替换的正则表达式。
替换文本
输入用于替换的模式。
In this example we will replace all dates in the format YYYY-MM-DD with the word DATE using regexp. The output will have all the dates replaced with the word DATE.
搜索文本
在文本中查找此模式
输入您想要替换的文本模式。
使用正则表达式查找模式
输入要替换的正则表达式。
替换文本
输入用于替换的模式。