Pull out text by regular expression and jam it into a new file.