Where do I start with powering Raspberry Pis off a monitor's power?

I need to power raspberry pi zero 2w devices and/or pi 4/5 directly from the monitor power.

where do i need to start to figure this out? I am comfortable with electronics, soldering, etc but have never made anything "custom" like this so any guidance is appreciated.