I've been trying the following but it does not return any (null) values. How can I include null values in using a regular expression with oracle an in fact return everything including null. (It is necessary to use a regex as the value is replaced with a variable in python and so the value will not always be null. Otherwise i could just leave out the expression.)
SELECT * from table WHERE
REGEXP_LIKE (column1,'.*|NULL$')
NULLis not a string. Regex can only match a string pattern..*? If so your example pattern is a bit confusing. As is the working you've used.