In nsis i want to validate a string. Actually it is a folder name. So it should not contain / ,\, <, >, ?, .,:,* etc. So how can i validate it?
Also i want to replace a string by substring. If a path contains "//" then replace with "/". So i want replace string option also.
validation in nsis for set of characters
4 posts
Validating with regex of simple validation in cycle like:
{For} 0 to Strlen
${if} character == '?'
${Orif} character == '\'
...
{Next}
?
{For} 0 to Strlen
${if} character == '?'
${Orif} character == '\'
...
{Next}
?
In for loop how to check for each character? i am not clear with your solution.Originally Posted by T.Slappy View PostValidating with regex of simple validation in cycle like:
{For} 0 to Strlen
${if} character == '?'
${Orif} character == '\'
...
{Next}
?