Expand my Community achievements bar.

Regular Expression for classic UI

Avatar

Level 2

I am using /^[.?\d]+$/ expression for validate the version. When I am using this expression in touch UI it's working fine, I am able to enter the value in this format (1.2.2). But, When I am using same Expression in classic UI it's not working. For classic UI, I have used regex Property and custom listener also. But this expression is not working and I have used any other expression but all other also not working in classic UI. Only for Alphabetic and numeric is working in classic UI.

So can anyone help me on this.

4 Replies

Avatar

Administrator

Which AEM version are you using?



Kautuk Sahni

Avatar

Level 10

Can you share the screenshot of the classic UI dialog along with the field in which you are trying to use this.

thanks

Avatar

Level 2

dialog.PNG

This is the dialog screenshot, In this, I am using regex property and other than this I tried with listener also but facing same issue.