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.
我想在HTML文件中找到一行也包含<和=标志。在文本文件中找到该行后,我想在其下方添加行。
HTML
<
=
更换零件:
@echo off &setlocal set "text=<!--test-->" set "text=%text:-->=--></test>%" setlocal enabledelayedexpansion echo !text! endlocal
输出:
<!--test--></test>
请从您的 HTML 文件中显示更多信息。