parsing string according to oracle operators with regex

Posted by haluk on Stack Overflow See other posts from Stack Overflow or by haluk
Published on 2010-03-30T12:29:59Z Indexed on 2010/03/30 12:33 UTC
Read the original article Hit count: 560

Filed under:
|
|
|

Hi,

Basically I was trying to replace the part of string with its actual value which comes immediately after oracle operators. I can do this for limited operators list like {=,>,<} but I wonder that is there any way out to gather all the operators rather than giving them by hands? For instance, I have this string; "a = xyz", then I will replace xyz with lets say 3. But as you know we have bunch of operator namely "like,in,exists etc". So my string can also be this: "a like xyz". So what do you suggest me? Thanks.

© Stack Overflow or respective owner

Related posts about regex

Related posts about Oracle