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.
在 eclipse 中查找和替换一行的正则表达式模式是什么?
我正在使用这个模式\S*\text\S*,它只替换单词而不是匹配模式的整行
\S*\text\S*
您可以使用以下正则表达式:
^.*text.*$