Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Regular Expression Question
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.comReceived on Tue Jan 30 2007 - 23:36:45 CST