This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
- Mute
- Subscribe
- Bookmark
- Report Inappropriate Content
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?
Solved! Go to Solution.
This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
- Mute
- Subscribe
- Bookmark
- Report Inappropriate Content
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.....]*$
Testing:
Regards,
Pooja
This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
- Mute
- Subscribe
- Bookmark
- Report Inappropriate Content
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.....]*$
Testing:
Regards,
Pooja
This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
- Mute
- Subscribe
- Bookmark
- Report Inappropriate Content
Thank you Pooja. This is exactly what I needed.
Jenny