replace str onp with number