sublime text 替换功能使用反向引用 replace with using
Posted 少年的梦
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sublime text 替换功能使用反向引用 replace with using相关的知识,希望对你有一定的参考价值。
比如文字是: Hello my name is bob
find what 那里是: my name is (\w+)
replace with 那里是: my name used to be $1
点replace,就可以把文字变为: Hello my name used to be bob
其中$1是正则的反向引用,它引用了查找条件里的(\w+)
以上是关于sublime text 替换功能使用反向引用 replace with using的主要内容,如果未能解决你的问题,请参考以下文章