Postgres extraer número de cadena

SELECT NULLIF(regexp_replace(po_number, '\D','','g'), '')::numeric AS result
FROM   tbl;
Obedient Osprey