The doping method enabled the epsilon-near-zero (ENZ) medium to adjust its permeability effectively. In this study, we theoretically analyze that the gap ring structure formed by the ENZ medium doped with perfect electrical conductor (PEC) can be equivalent to the controllable series reactance. Based on this concept, a universal matching network that can match any complex impedance load by adjusting the gap ring spacing is constructed. We used the above universal matching network to carry out theoretical and simulation calculations on the matching effect of a random-sized stepped waveguide and horn antenna, and the results show that the impedance-matching technology has a good matching effect for different loads. Finally, experimental verification is carried out. Compared with traditional impedance-matching networks, the proposed structure has the characteristics of simplicity, reliability, low loss, high carrying power, low preparation requirements, and good application prospects. This work is a good example of the practicality of ENZ media and also provides a very meaningful idea for the development of new electromagnetic matching devices.