moves regex function from util to third_party, which makes more sense since I copied the function from a blog post, the only thing I did was wrap it in a function instead of just having it be its own script