Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Regular Expression Question

Re: Regular Expression Question

From: Mladen Gogala <mgogala.SPAM_ME.NOT_at_verizon.net>
Date: Wed, 31 Jan 2007 05:36:45 GMT
Message-ID: <NVVvh.2953$q86.640@trndny01>


On Mon, 29 Jan 2007 19:51:24 -0500, m.t wrote:

> Please show me how I can use Regular Expression to
> replace the comments with NULL.

You can always use Perl, it allows you to test things on the fly. Here is what you wanted to do:

$echo "Say /* This is a comment */ dude"|perl -pe 's/\/\*.*\*\//what/;' Say what dude

Regular expression is easily visible. Oracle's regular expression is identical.

-- 
http://www.mladen-gogala.com
Received on Tue Jan 30 2007 - 23:36:45 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US