Fernando Brombatti wrote: > Alguém já usou função para extrair números de uma string? > > Ex.: AB345CD234 => 345234
lista=# select regexp_replace('AB345CD234', '[A-Z]', '','g');
regexp_replace
----------------
345234
(1 row)
--
Shander Lyrio
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
