File manipulation

Hi,

I’ve a file. In this file, I’ve :

Begin Map
Begin Actor Class=LevelInfo Name=LevelInfo1
TimeSeconds=13.775536
AIProfile(0)=166
Level=LevelInfo’MyLevel.LevelInfo1’
Tag=LevelInfo
Region=(Zone=LevelInfo’MyLevel.LevelInfo1’,iLeaf=-1)
Name=LevelInfo1
End Actor
Begin Actor Class=Brush Name=Brush1
MainScale=(SheerAxis=SHEER_ZX)
PostScale=(SheerAxis=SHEER_ZX)
Group=Sheet
Level=LevelInfo’MyLevel.LevelInfo1’
Tag=Brush
Region=(Zone=LevelInfo’MyLevel.LevelInfo1’,iLeaf=-1)
Begin Brush Name=Brush
Begin PolyList
Begin Polygon Item=Sheet Flags=264
Origin +00128.000000,+00128.000000,+00000.000000
Normal +00000.000000,+00000.000000,-00001.000000
TextureU -00001.000000,+00000.000000,+00000.000000
TextureV +00000.000000,+00001.000000,+00000.000000
Vertex +00128.000000,+00128.000000,+00000.000000
Vertex +00128.000000,-00128.000000,+00000.000000
Vertex -00128.000000,-00128.000000,+00000.000000
Vertex -00128.000000,+00128.000000,+00000.000000
End Polygon
End PolyList
End Brush
Brush=Model’MyLevel.Brush’
Name=Brush1
End Actor
End Map

I’d like to only conserve this part and writting in another file :

TextureU -1.000000,0.000000,0.000000
TextureV 0.000000,1.000000,0.000000
Vertex 128.000000,128.000000,0.000000
Vertex 128.000000,-128.000000,0.000000
Vertex -128.000000,-128.000000,0.000000
Vertex -128.000000,128.000000,0.000000

How can I do ?

what language are you using?