Use g flag as described here to get all matches instead of only the first one: https://www.postgresql.org/docs/current/functions-matching.html
I also think the return value is array of arrays so try to access like [1][2] to get the second match