【发布时间】:2016-06-03 19:54:07
【问题描述】:
我尝试使用批处理来提取所需的代码,但这不适用于大文件。我想知道这是否可以使用 VB 脚本。所以,
我需要从两个分隔符之间的文件中提取文本并将其复制到 TXT 文件。此文本看起来像 XML 代码,而不是分隔符 <string> text... </string>,我有 :::SOURCE text .... ::::SOURCE。正如您在第一个分隔符中看到的那样,是 ':' 的 3 倍,第二个是 ':' 的 4 倍
最重要的是这两个分隔符之间有多行。
文本示例:
text&compiled unreadable characters
text&compiled unreadable characters
:::SOURCE
just this code
just this code
...
just this code
::::SOURCE text&compiled unreadable characters
text&compiled unreadable characters
期望的输出:
just this code
just this code
...
just this code
【问题讨论】:
标签: vbscript