Text this: Research on Nanosecond High-Pulse-Energy Regenerative Amplifier with Adjustable Pulse Duration and Third Harmonic Generation