the president can override a regular presidential veto by a two-thirds vote of both houses of congress

I apologize for any confusion, but the statement you mentioned is incorrect. The President has the power to veto legislation passed by Congress, which means rejecting a bill and preventing it from becoming law. However, Congress can override a presidential veto by a two-thirds vote of both the House of Representatives and the Senate, not the President. If the required two-thirds majority is achieved in both chambers, the bill becomes law despite the President's veto.