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.
我有一个很大的价目表,我必须将所有价格替换为 0。价目表是由这种风格构建的。
<Cost dollar="155"/> <Cost dollar="240"/>
我想用 0 替换数字。
我的尝试:
<Cost dollar="([0-9])"/>
编辑 :
解决了
<Cost dollar="([0-9]*)"/>
Find: \d*
\d*
Replace: 0
Or use what you already did with the asterisk [0-9]*
[0-9]*