Re: how can I replace all instances of a pattern

From: James Sharrett <jsharrett(at)tidemark(dot)net>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: how can I replace all instances of a pattern
Date: 2013-03-26 13:13:39
Message-ID: CD7716CB.8A7D%jsharrett@tidemark.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Sorry, caught a typo. Mytext1 is correctly replaced because only one
instance of the character (space) is in the string.

This deals with the correct characters but only does the first instance of
the character so the output is:

'Mytext1'
'Mytext 2' (wrong)
'Mytext-3' (wrong)
'My_text4'
'My!text5'

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message ktm@rice.edu 2013-03-26 13:18:52 Re: how can I replace all instances of a pattern
Previous Message James Sharrett 2013-03-26 13:08:34 how can I replace all instances of a pattern