Fix regex maybe

This was the original regex I was using but I was concerned that it
wasn’t strict enough. But it certainly works better than the one it’s
replacing.

Not really sure how to best test this yet.