Re: regexp_replace

From: Andy Colson <andy(at)squeakycode(dot)net>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: regexp_replace
Date: 2016-01-14 20:27:14
Message-ID: 569804A2.2030809@squeakycode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/14/2016 2:06 PM, David G. Johnston wrote:
> select regexp_replace('71.09.6.01.3', '(\d)[.-](?=\d)', '\1\2', 'g');

Thanks David!

-Andy

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2016-01-14 20:39:46 Re: regexp_replace
Previous Message Andy Colson 2016-01-14 20:08:20 Re: regexp_replace