如何通过正则表达式区分软件名与版本号 ?

只需要正则表达式或者用python实现更好了
Microsoft .NET Framework 3.5.1
HP Network Automation 9.1X
2345安全卫士 Security Guard 3.7
Intel BN0049
NetGain Systems Enterprise Manager 7.2.699 build 1001
Microsoft Windows 10 1703
整理完分为下面这两部分:
Microsoft .NET Framework |3.5.1
HP Network Automation |9.1X
2345安全卫士 Security Guard |3.7
Intel |BN0049
NetGain Systems Enterprise Manager |7.2.699 build 1001
Microsoft Windows |10 1703

分为‘|’左右两部分,而且原来数据是在一个文件里面的,需要一次处理多种不同格式的数据


倚天杖
浏览 1346回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP