Dafür gibts die Funktion REGEXP_LIKE, die genau das liefert.
Allerdings musste die per Installer-Option noch hinzugefügt werden.

https://www.rpgpgm.com/2017/08/regex...ed-to-sql.html