How to get the phase id -

Second to last number in URL