Blog Demos
Multi Date Select| Google Geocoding| Rexexp Searching| Hierarchical Control| Pipelined Function| Enhanced Shuttle|
Regular Expression Searching    
Submit
EmpnoEnameJobMgrHiredateSalCommDeptno
7839KINGPRESIDENT 17-NOV-815000 10
7698BLAKEMANAGER783901-MAY-812850 30
7782CLARKMANAGER783909-JUN-812450 10
7566JONESMANAGER783902-APR-812975 20
7788SCOTTANALYST756609-DEC-823000 20
7902FORDANALYST756603-DEC-813000 20
7369SMITHCLERK790217-DEC-80800 20
7499ALLENSALESMAN769820-FEB-81160030030
7521WARDSALESMAN769822-FEB-81125050030
7654MARTINSALESMAN769828-SEP-811250140030
7844TURNERSALESMAN769808-SEP-811500030
7876ADAMSCLERK778812-JAN-831100 20
7900JAMESCLERK769803-DEC-81950 30
7934MILLERCLERK778223-JAN-821300 10
1 - 14
Back to the Blog    
http://christopherbeck.wordpress.com/2008/08/26/regular-expression-searching-with-apex/
Oracle Docs    
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28424/adfns_regexp.htm
Query    
select * 
  from emp
 where regexp_like( ename, nvl( :P6_REGEXP, ename ), 'ix' ) 
Try the following    
Start with S: ^s

End with R:  r$

Start with S and end with H:  ^s.*h$

Start with S or end with R:  ^s|r$

All 4 letter names:  ^....$

Contains B, C, D or K:  [b-d,k]

All names with double letters:  (.)\1

nobody
en-us