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.
我将如何为此编写正则表达式?
Backup 1 of (anything here, maybe multiple words).html
我以为会是这样
Backup\s1\sof(.*)\.html
但它不起作用。我正在使用power grep ...我应该在开头和结尾放一些东西吗?谢谢!
^Backup\s\d+\sof\s\([^\(\)]+\)\.html$
^
Backup
\s
\d+
of
\(
[^\(\)]+
\)
\.
html
$