Now midExtract will construct regex for you