Update regex post with correct code