I need an Oracle regular expression that matches a file name in the format ABCD_EFG_YYYYMMDD_HH(24)MISS.csv , except that the temporary part is one of three specific values: 110000 , 140000 or 180000 .
So, for example, it will match the file name ABC_DEF_20120925_110001.csv , but not the file name ABCD_EFG_20120925_110000.csv not.
The following non-Oracle regex works:
^ABCD_EFG_[0-9]*_(?!110000|140000|180000)[0-9]*\.csv$
but I donβt know how to write it as an Oracle regular expression.
source share