Usually, it is done like this: If $[t]$ denotes the greatest integer less than or equal to $t$, then
$$ \text{the exponent of $p$ in $n!$} = \bigg[\frac{n}{p}\bigg] + \bigg[\frac{n}{p^2}\bigg] + \bigg[\frac{n}{p^3}\bigg] + \cdots $$
and it does give the answer, but, it is totally non-intuitive and i can't use it comfortably enough!

The $\left\lfloor \frac np \right\rfloor$ counts one factor of $p$ from every multiple of $p$. The $\left\lfloor \frac n{p^2} \right\rfloor$ counts one additional factor of $p$ from every multiple of $p^2$ and so on. As an example, take $p=5, n=679$. There are $\left\lfloor \frac {679}5 \right\rfloor=135$ multiples of $5$, starting with $5$ and ending with $675=5\cdot 135$. The multiples of $25$ have another factor of $5$ and there are $\left\lfloor \frac {679}{25} \right\rfloor=27$ of them. The multiples of $5^3=125$ have another factor of $5$ and the one multiple of $5^4=625$ has yet one more.