Is it true that for any Borel measurable function from $\mathbb{R}$ to $\mathbb{R}$, we can find a set $B \subset \mathbb{R}$, s.t. $m^*(\mathbb{R} - B) = 0$ (Lebesgue outer measure), and $f_{|B} : B \rightarrow \mathbb{R}$ is a continuous function? If not, what is a counterexample?
For example, for $f = \mathbf{I}(x \in {\mathbb{Q}})$ (indicator function), we can choose $B = \mathbb{R} - \mathbb{Q}$, so that $f_{|B}$ is a constant function (taking value 0), and therefore continuous.