MaRCeLO PeReiRA <gandalf_mp@yahoo.com.br> writes:
> Is there a way to execute a regex, inside a SELECT
> statement, to substitute things?
There's a regex_replace() function in recent PG versions. Or you could
write a function in plperl or pltcl to use the regex capabilities of
those languages.
regards, tom lane