MaRCeLO PeReiRA <gandalf_mp(at)yahoo(dot)com(dot)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