[英]How to find and replace with regex in excel
我有一个 1 列和多行的 excel 文件。
这些行包含各种文本,这是一个示例:
texts are home
texts are whatever
dafds
dgretwer
werweerqwr
texts are 21412
texts are 346345
texts are rwefdg
terfesfasd
rwerw
我有一个 1 列多行的 excel 文件。
这些行包含各种文本,这是一个示例:
texts are home
texts are whatever
dafds
dgretwer
werweerqwr
texts are 21412
texts are 346345
texts are rwefdg
terfesfasd
rwerw
我想用特定单词替换“文本是 *”,其中 * 是“文本是”之后的任何内容,例如“文本被替换”。 我怎样才能在 Excel 中做到这一点?
我有一个 1 列多行的 excel 文件。
这些行包含各种文本,这是一个示例:
texts are home
texts are whatever
dafds
dgretwer
werweerqwr
texts are 21412
texts are 346345
texts are rwefdg
terfesfasd
rwerw
我想用特定单词替换“文本是 *”,其中 * 是“文本是”之后的任何内容,例如“文本被替换”。 我怎样才能在 Excel 中做到这一点?
我有一个 1 列多行的 excel 文件。
这些行包含各种文本,这是一个示例:
texts are home
texts are whatever
dafds
dgretwer
werweerqwr
texts are 21412
texts are 346345
texts are rwefdg
terfesfasd
rwerw
我想用特定单词替换“文本是 *”,其中 * 是“文本是”之后的任何内容,例如“文本被替换”。 我怎样才能在 Excel 中做到这一点?
我有一个 1 列多行的 excel 文件。
这些行包含各种文本,这是一个示例:
texts are home
texts are whatever
dafds
dgretwer
werweerqwr
texts are 21412
texts are 346345
texts are rwefdg
terfesfasd
rwerw
我想用特定单词替换“文本是 *”,其中 * 是“文本是”之后的任何内容,例如“文本被替换”。 我怎样才能在 Excel 中做到这一点?
显然,Excel 不使用 Regex,但有一种解决方法。 您可以使用 *, ? 或 ~ 在您的搜索模式中。
寻找
? (question mark) = Any single character. For example, sm?th finds "smith" and "smyth"
* (asterisk) = Any number of characters For example, *east finds "Northeast" and "Southeast"
~ (tilde) followed by ?, *, or ~ = A question mark, asterisk, or tilde. For example, fy06~? finds "fy06?"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.