I have the following expression that matches the string listed when I test it using Online Regex Tester (https://regex101.com/).
Expression:
^(?:[A-Z]{3}[0-9]{3}[a-z]{1}\([0-9]{1,3}\-[0-9]{1,3}\))\+\s?(?:[A-Z]{2}\((?:[0-9]{1,3}((?:\-[0-9]{1,3}(?:\s?\,\s?)?))?)+\)(?:\s?\+\s?)?)*$
String Input:
ATL107j(1-132)+XD(133-156)+SP(157-288)+XD(289-432)
If I use:
SELECT 1 FROM DUAL WHERE REGEXP_LIKE([String Input], [Expression])
I get no rows. I am not sure what is wrong with the expression as it relates to REGEXP_LIKE. I am using Oracle 11gR2.
Any help is appreciated. Thank you.