Hi @Mohammad Qasim ,
You can use JavaScript Regex to replace special charater with "-".
The code in attachment is a sample code for your reference:
Reference:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
having textbox on page where user can input document name using special character like
1) abc%test.
2) abc&test
3) abctest.
4) abc/test
5) abc+test
6) abc(test)
7) abc_test
Solution Required:
I want to change all these special charater with '-' . so it will be like below ( after replace ).
abc-test not abc%test
if any special character not get changed so it should prompt like " invalid character "
Hi @Mohammad Qasim ,
You can use JavaScript Regex to replace special charater with "-".
The code in attachment is a sample code for your reference:
Reference: