Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 9D214632A6D for ; Fri, 7 May 2010 12:24:40 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 44980-04 for ; Fri, 7 May 2010 15:24:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mail.postgresql.org (Postfix) with ESMTP id 6A075632337 for ; Fri, 7 May 2010 12:24:33 -0300 (ADT) Received: by bwz8 with SMTP id 8so699759bwz.3 for ; Fri, 07 May 2010 08:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2jLgmK0u0kfYT+h9w9JnPjY54q9TRw9X2k80T81CMw0=; b=WZ64+bz47I248RyyYe9nQ7dqXi60xZ2vg98zAKbikFkv8ibBX7J31+Wc+0x/+Rz2a6 Mm2ufcgxToT0VuDs5z5HbajQCHenPyXKgzyv7o8wuEV2j3VdiXwh2M5OEJB/vpoSFPwM tfTWVu2SHb7OLujZvCrHacrvzUHB8ZjHjz8ec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LLeOkM40hIWCv/pU/UaFZQnfrhiy3FkpzKUPGBgE7qg0ZML0eBdzytuFpm1fT0KbUl 9BqutinQiuGiCSp/9Ux/k6iL+E4cceXBNI/NYjzFeS5msUIYzVd7Qu7HLE6xYOuUSnbr cIkZfN1CMhkUbS1yCMee3uE9MvR2ybEjomZlk= MIME-Version: 1.0 Received: by 10.204.18.78 with SMTP id v14mr255284bka.2.1273245870652; Fri, 07 May 2010 08:24:30 -0700 (PDT) Received: by 10.204.126.193 with HTTP; Fri, 7 May 2010 08:24:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 7 May 2010 17:24:30 +0200 Message-ID: Subject: Re: help From: =?UTF-8?Q?Filip_Rembia=C5=82kowski?= To: Nicholas I Cc: pgsql-sql@postgresql.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-5 required=5 tests=BAYES_20=-0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201005/30 X-Sequence-Number: 34078 select substring( data from '\((.*)\)' ) from table; 2010/5/5 Nicholas I : > 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 > > --=20 Filip Rembia=C5=82kowski JID,mailto:filip.rembialkowski@gmail.com http://filip.rembialkowski.net/