select substring( data from '\((.*)\)' ) from table;
2010/5/5 Nicholas I <[email protected]>: > Hi, > > I have a table in which the data's are entered like, > > Example: > > One (1) > Two (2) > Three (3) > > I want to extract the data which is only within the parentheses. > > that is > 1 > 2 > 3 > > > Thank You > Nicholas I > > -- Filip Rembiałkowski JID,mailto:[email protected] http://filip.rembialkowski.net/ -- Sent via pgsql-sql mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql
