Consider below
execute immediate (
select 'select url_id, region_name from (' || string_agg(
format('select %i as url_id, array(%s) as region_names', url_id, sql),
' union all '
) || '), unnest(region_names) as region_name'
from your_table
);
if applied to sample data in your question - output it
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…