Major update, now checks for success of first test

I know there's a regex function I could use, but I still feel more comfortable using Notepad. One of these days I'll make most of this stuff invisible to the user, but I was in a hurry when I wrote this and Notepad's find feature is quick and easy.