WhiteHatBox
Share Page
Following(0)
Partner(s)
mokote

finding letters/special signs or numbers in variable

ReplyThanks 2018/04/14 12:50:59 0 0

hello,

is there any way in "process controll" ->"if" function to find letters/special signs or numbers?


example:

X =2018


if

X contain "[0-9] numbers" and do not contain letters/special signs "[a-zA-Z&._-]" return value "true"

else

return value "false"


regards


Aprilcaicai
2018/04/16 11:25:04

So sorry for the inconvenience.


If command does not support Regex judgement. But you can use the RunJavaScriptCode or RunCSharpCode command to write a regex judgement method, assign parameter then return the results.

<< < 1> >>
VerifyCode
Advanced Option