Background Knowledge:
- We can't use (?!) to exclude, since, regexp_like() doesn't support negative lookahead.
- I don't want to exclude using 'NOT REGEXP_LIKE()'
- [^] can negate a single character only but not a string
Question:
Interested to know if we have any alternative to change the regular expression itself being passed to oracle regexp_like().
Example scenario to explain:
Regexp - "STANDARD.*TIME" when used in regexp_like() would match all time zones containing both words STANDARD and TIME. Say I want to exclude 'INDIAN STANDARD TIME', 'ATLANTIC STANDARD TIME', 'IRISH STANDARD TIME' from the matched time zones