(Other than using a UDF) Any REGEXP-In-SQL support for DB2 9.7 ?
Starting with DB2 11.1 there is built-in regex support. One of the new function is REGEXP_SUBSTR
and there are some more.
SELECT REGEXP_SUBSTR('hello to you', '.o',1,1)
FROM sysibm.sysdummy1