Automatically use \cdot
\documentclass{article}
\mathcode`\*="8000
{\catcode`\*\active\gdef*{\cdot}}
\begin{document}
It's normal to write $e=mc^2$ but you can write $e=m*c*c$.
\end{document}
\documentclass{article}
\mathcode`\*="8000
{\catcode`\*\active\gdef*{\cdot}}
\begin{document}
It's normal to write $e=mc^2$ but you can write $e=m*c*c$.
\end{document}