Extract a couple of regexes.