本帖最后由 pcl_test 于 2016-10-7 13:46 编辑
如何删除文本多余字符
请问各位朋友,如何保留第一行的“DEV_2000”,其他内容全部删除,保留后的全部内容为:PCI=DEV_2000,多谢了。- PCI\VEN_1022&DEV_2000&SUBSYS_20001022&REV_10\4&158AE19&0&0888
- Name: AMD PCNET Family PCI Ethernet Adapter
- Hardware IDs:
- PCI\VEN_1022&DEV_2000&SUBSYS_20001022&REV_10
- PCI\VEN_1022&DEV_2000&SUBSYS_20001022
- PCI\VEN_1022&DEV_2000&CC_020000
- PCI\VEN_1022&DEV_2000&CC_0200
- Compatible IDs:
- PCI\VEN_1022&DEV_2000&REV_10
- PCI\VEN_1022&DEV_2000
- PCI\VEN_1022&CC_020000
- PCI\VEN_1022&CC_0200
- PCI\VEN_1022
- PCI\CC_020000
- PCI\CC_0200
- 1 matching device(s) found.
复制代码
|