У меня есть текстовый документ с большим количеством строк. Мне нужно удалить все из этого документа, но из каждой строки оставить только icon.xxxx_xxxx_xxx. Подскажите, каким образом можно так сделать?
Пример одной строки:
0 1 1 1 7 15 0 LineageWeapons.small_sword_m00_wp LineageWeaponsTex.small_sword_t00_wp 0 0 0 0 0 1 0 0 icon.weapon_small_sword_i00 -1 1600 8 0 5F006E 0 1 27 1 1 LineageWeapons.small_sword_m00_wp 1 1 LineageWeaponsTex.small_sword_t00_wp 4 ItemSound.sword_small_1 ItemSound.sword_big_7 ItemSound.sword_mid_6 ItemSound.public_sword_shing_4 ItemSound.itemdrop_sword ItemSound.itemequip_sword 10 8 6 1 0 8 0 0 0 0 379 0 1 1 1000 0 -1 0 0.00000000 0.00000000 0.00000000 1.00000000 1.00000000 LineageWeapons.rangesample 0.94999999 0.55000001 0.55000001 11.00000000 0.00000000 0.00000000 -1 -1 -1 -1 -1 -1