cancel
Showing results for 
Search instead for 
Did you mean: 
Virginia13
Occasional Member - Level 2

Creating a Validation restricting multiple special characters

I would like to create a validation to be used on the Report Name to restrict use of multiple special characters. Is there syntax that will build such a validation?

1 Solution
Solution
PoojaKumatkar
Frequent Member - Level 1

Hi @Virginia13 ,

 

Please try below regular expression and add validation under Report Name field.

^[^!^@^#^$^%^*^(^)^+^=^?^<^>^|^\^/]*$

 

In this, if you want to add any other special characters then you can add using ^special char in this format. 

^[^special char1 ^special char2 ^special char3.....]*$

 

PoojaKumatkar_0-1721200309295.png

 

Testing:

PoojaKumatkar_1-1721200597828.png

 

 

Thanks!
Regards,
Pooja

View solution in original post

2 REPLIES 2
Solution
PoojaKumatkar
Frequent Member - Level 1

Hi @Virginia13 ,

 

Please try below regular expression and add validation under Report Name field.

^[^!^@^#^$^%^*^(^)^+^=^?^<^>^|^\^/]*$

 

In this, if you want to add any other special characters then you can add using ^special char in this format. 

^[^special char1 ^special char2 ^special char3.....]*$

 

PoojaKumatkar_0-1721200309295.png

 

Testing:

PoojaKumatkar_1-1721200597828.png

 

 

Thanks!
Regards,
Pooja
Virginia13
Occasional Member - Level 2

Thank you Pooja. This is exactly what I needed.

Jenny