Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Prohibition on special characters in the Insight attribute.

Pavel Rusakov
Contributor
June 8, 2022

Is it possible to disable special characters in an attribute? I have a phone attribute and I want the values ​​to be added without +
Thanks in advance!

1 answer

0 votes
karel_mellen
Contributor
June 8, 2022

If the phone attribute is set through import there's the regex option I think you can use:

https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html

Pavel Rusakov
Contributor
June 9, 2022

Thanks! Is this manual adding. May i can add some options to atributte?

karel_mellen
Contributor
June 9, 2022

I don't think reg ex can be used when the value is being set by hand. 

https://confluence.atlassian.com/jirakb/how-to-validate-attributes-with-regular-expressions-1086419582.html

Suggest an answer

Log in or Sign up to answer