Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个文本文件。
tart*)*98'bank'ksb64bank)(tart2d&f44bank
我想替换为:我想搜索 tart*.*bank 并将“bank”更改为“replaced”
tart*)*98'replaced'ksb64bank)(tart2d&f44replaced
谢谢。
找什么:(tart.*?)(bank)
(tart.*?)(bank)
用。。。来代替:\1replaced
\1replaced
()
\1
.*
?
bank