@93terp: Nothing. It's for the dev/curious.
@crackshot91: No idea, sorry
.
AFAIK, there's no way to use the same source twice, and I'm not sure there's a bit of regex magic powerful enough to do what you want in one pass... Take that with a grain of salt, though, that's far from my area of expertise
.