Getting 4.2V regulated voltage
If you need an uncommon voltage, then an adjustable regulator is the way to do it.
The LM1117-ADJ will work fine with up to 15V input. 
You will also need about 1.25V or more, above your output voltage (with this chip). So your circuit will need about 5.5V input minimum.