Could you tell a difference between pregnancy cramps and period cramps

If yes how were they different?