I wanna ask you guys if anyone know how to make a scrip that do the fallowing:
I have a .txt file whit a lot of this line that look like this:
<Waypoint>[color=red]-9373.636 -961.6185 173.3781[/color]</Waypoint>
and i wanna convert every line (have like 500+ line) into:
<Hotspot X="[color=red]-9373.636[/color]" Y="[color=red]-961.6185[/color]" Z="[color=red]173.3781[/color]" />
do anyone know how to do it?
Thanks very much and if you need more details just ask.




