Merlin Moncure wrote:
On Tue, Oct 28, 2008 at 10:42 AM, Vincas Dargis <[EMAIL PROTECTED]> wrote:
Hello everyone,

I have problem with regexp_replace ( PostgreSQL 8.3.1). Please try this
crappy string replacement:

select regexp_replace('[EMAIL PROTECTED]&^&*()[]-=', '[^0-9]*' ,'')

..and I get:
"[EMAIL PROTECTED]&^&*()[]-="


global flag:
select regexp_replace('[EMAIL PROTECTED]&^&*()[]-=', '[^0-9]*' ,'', 'g');

merlin

Thank you!

--


Geros dienos,

Vincas Dargis

Programuotojas
UAB "ProNENSIS"
Metalistų g. 10, Šiauliai, LT - 78136
Tel: +370 41 50 23 33
Faksas: +370 41 42 16 12


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to