Need a help in regexp - Mailing list pgsql-sql

From Nicholas I
Subject Need a help in regexp
Date
Msg-id k2oe13d0d11005060748l4eaf0ac2g9b1db464c524b8e4@mail.gmail.com
Whole thread Raw
Responses Re: Need a help in regexp  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: Need a help in regexp  (Leif Biberg Kristensen <leif@solumslekt.org>)
List pgsql-sql
<span style="display: block; padding-left: 6em;"><span></span></span>Hi,<br /><br />Need a help in regexp!<br /><br />I
havea table in which the data's are entered like,<br /><br />Example:<br /><br />One (1)<br />Two (2)<br />Three (3)<br
/><br/>I want to extract the data which is only within the parentheses.<br /><br />that is <br />1<br />2<br /> 3<br
/><br/>i have written a query, <br /><b>select regexp_matches(name,'([^(]+)([)]+)','g') from table;</b><br />which
outputsthe data as, <br />{"test"}<br />{"test2"}<br /><span style="display: block; padding-left:
6em;"><span></span></span><br/><br />Thank You<br /><font color="#888888">Nicholas I</font><span style="display: block;
padding-left:6em;"><span></span></span><span style="display: block; padding-left: 6em;"><span></span></span> 

pgsql-sql by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: How to get localized to_char(DATE) output
Next
From: "A. Kretschmer"
Date:
Subject: Re: Need a help in regexp