Mega Code Archive

 
Categories / Oracle PLSQL / Regular Expressions
 

To see the difference between and +

SQL> -- To see the difference between "*" and "+", consider the next four queries. SQL> SQL> -- Here, we are asking to match an "a" and zero or more "b"s: SQL> SQL> SELECT REGEXP_SUBSTR('a','ab*') FROM dual; R - a SQL> SQL>