我之前没有写过正则表达式,而且我的知识严重不足.我希望这里的专家能够帮助我使用正则表达式,我可以在C#中使用它来仅删除标记标记.
标记有一个以下开始标记:<AI>!或<AH>!或<AG>!以另一个结束!
例: the quick brown <AI>!fox jumps! over the lazy dog!
删除标记后应该是: the quick brown fox jumps over the lazy dog!
代码片段:
NOT MORE THAN 85 % OF H<AH>!3!BO<AH>!3! CALCULATED ON THE DRY WEIGHT
- Uranium ores and pitchblende, and concentrates thereof, with a uranium content of more than 5 % by weight (<AI>!Euratom!)
- Monazite; urano-thorianite and other thorium ores and concentrates, with a thorium content of more than 20 % …Run Code Online (Sandbox Code Playgroud)