Oracle Discussion Forums
Welcome, Guest. Please login or register.
September 07, 2010
Home Help Search Login Register
News:


+  WebForums - OraclePassport
|-+  IT progamming - Oracle, Java, Unix, MySQL, Toad
| |-+  Oracle Basics
| | |-+  Question on REGEXP_INSTR and Regular Expressions!
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: Question on REGEXP_INSTR and Regular Expressions!  (Read 309 times)
vivekmcm
Scout
****

Appreciate? +0/-0
Offline Offline

Posts: 119

Welcome!

« on: December 27, 2009 »

SELECT REGEXP_INSTR('But, soft! What light through yonder window breaks?', 'l[[:alpha:]]{4}') AS result FROM dual;


 what is 'l[[:alpha:]]{4}' means here

 can anybody explain me full concept of regular expression
« Last Edit: December 29, 2009 by sippsin » Report to moderator   Logged
dtech-team
Administrator
Assistant Professor
*****

Appreciate? +5/-0
Offline Offline

Posts: 616


DTecH Oracle Forums

WWW
« Reply #1 on: December 29, 2009 »

'l[[:alpha:]]{4}'
 
[:alpha:] - Means any character A to Z or a to z. They are always used inside square brackets in the form [[:alpha:]]
 
l - is a search expression. Means find anything, even if it has no l (0 or 1 times)
 
{4} - means run the RE [[:alpha:]] 4 times.
 
 
To Learn RE, check this tutorial
 
Report to moderator   Logged

demonoiduk
Scholar
**

Appreciate? +1/-0
Offline Offline

Posts: 9


Welcome!

« Reply #2 on: January 02, 2010 »

Oracle Database 10g  : Four REGEXP Functions:


REGEXP_LIKE
REGEXP_SUBSTR
REGEXP_REPLACE
REGEXP_INSTR[/b

Read more: http://www.regular-expressions.info/oracle.html
Report to moderator   Logged
Pages: [1] Go Up Send this topic Print 
« previous next »
 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)



Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 2.0 RC1.2 | SMF © 2006–2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.14 seconds with 22 queries.