Noob question regarding a certain export style

Hey I am really new to Blender I have textured an OBJ and wish to export the data so that its in the style of: For the vertices[FONT=Consolas][SIZE=2]-1.0f,-1.0f,-1.0f,
-1.0f,-1.0f, 1.0f,
-1.0f, 1.0f, 1.0f,
1.0f,1.0f,-1.0f, And for the UV’s
[FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2]0.000059f, 1.0f-0.000004f,
0.000103f, 1.0f-0.336048f,
0.335973f, 1.0f-0.335903f,
1.000023f, 1.0f-0.000013f, I understand that this probably requires a custom script but I can imagine this is a highly regular outputting layout so a link to a script that can do this would be great! Its really doing my head in at the moment!