If Frontpage offers an 'HTML only' view of what you've created, you can highlight and copy that code...
Then in your text editor select the 'HTML' view instead of Design/Normal. Then paste in the html only code from frontpage. (With my text editor I find I have to use the Cntr + V shortcut to get it in)
All text editors work a little differently, so if you're still having difficulty, please report which text editor you're using; either the default, or if you've replaced it with Free Text Box, RAD Editor, CuteEditor, etc.