© 2019 The Author(s) We show that a choice of Pauli-Villars regulators allows the cancellation of all the conformal and chiral anomalies in an effective field theory from Z3 compactification of the heterotic string with two Wilson lines and an anomalous U(1).