This shows you the differences between two versions of the page.
kurs:regex_demo [2014/09/10 21:22] |
kurs:regex_demo [2014/09/10 21:22] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <code> | ||
+ | PROCEDURE hr.regexp_demo | ||
+ | ( v_s IN varchar2) | ||
+ | IS | ||
+ | BEGIN | ||
+ | if REGEXP_LIKE(v_s, '^[[:alpha:]]{3}_') then | ||
+ | dbms_output.put_line(v_s ||' entspricht'); | ||
+ | else | ||
+ | dbms_output.put_line(v_s ||' entspricht NICHT!'); | ||
+ | end if; | ||
+ | END; -- Procedure | ||
+ | </code> |