My Oracle Support Banner

ValidateRegEx Is Firing Validation On Empty InputText Field (Doc ID 2408951.1)

Last updated on MARCH 17, 2019

Applies to:

Oracle JDeveloper - Version to [Release 12c]
Information in this document applies to any platform.


If you have an input text component on the page with RegEx validation to restrict to enter only numbers. Problem arises when you enter some number and emptying the same field or removing the entered value, validations are fired on empty input text field. ie, RegEx fires the validation and error is thrown saying that format is incorrect. This behavior is observed only in JDeveloper 12c releases ( and
In JDeveloper 11g versions, above behavior is not seen. ie, RegEx does not fire validation on empty input fields.

Source code example is:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.