This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes Oracle Regular Expressions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Oracle Regular Expressions" Watch "Oracle Regular Expressions" New topic
Author

Oracle Regular Expressions

Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1613
    
  10

I'm studying for "Oracle Database SQL Expert". There is a whole section about regular expressions:
Regular Expression Support
[ ] Using Meta Characters
[ ] Regular Expression Functions
[ ] Replacing Patterns
[ ] Regular Expressions and Check Constraints


Are these the same regular expressions used in Java? If not, how do they differ?

Thanks


When you do things right, people won't be sure you've done anything at all.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Oracle's regular expressions are based on the POSIX Extended Regular Expressions (ERE). Java adds more functionality to it, but I think the basic syntax is the same. You'll find some comparative information here.


[My Blog]
All roads lead to JavaRanch
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1613
    
  10

Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle Regular Expressions
 
Similar Threads
criteriaFind() doubt
replaceAll()
substr in oracle
xs:pattern meaning
Strings replaceAll()