Extract prefix information