|
|
|
|
#1 |
|
Junior Member
Join Date: Mar 2013
Posts: 23
|
deny special characters
Hi,
i have a text field to enter some configuration, i want deny special characters like "/ \ * $ " can I doing that please? thx for your help |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
|
Validate input with StrFilter.
E.g. !include "WordFunc.nsh" ${StrFilter} "$Input" "12" ".-" "" $0 # letters, digits, dot & dash allowed -or- ${StrFilter} "$Input" "" "" "/\*$$" $0 # everything but / \ * $ allowed StrCmp $0 $Input ValidInput InvalidInput PostEnd: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|