我有一个大文件,包含以下格式的许多行,
<SomeString1>Key1</SomeString> <SomeString2>Key2</SomeString> <SomeString3>Key3</SomeString> ...
Key1 Key2 Key3 ...
从算法上讲,我应该写一些类似于:
For all lines: Remove all string before character `>` Remove all string after character `</`