matches_regex should contain alphabets, numbers and Tilda
Posted: Tue Oct 18, 2016 12:54 pm
Hi All,
I am trying to create a IA rule for value check for one of the column
Rule:
Field should have all three alphabets ,numbers and Special Character ~ ( tilda) otherwise the rule should fail
Example :
ABCD~2016187~1
ABC~2016187
the above data should be passed and below should be failed
FNAL~
123~
I have tried the below, but still the rule is not working, can you please advise on how to proceed on this
trim(column) matches_regex '^[-a-zA-Z~0-9~0-9]$'
I am trying to create a IA rule for value check for one of the column
Rule:
Field should have all three alphabets ,numbers and Special Character ~ ( tilda) otherwise the rule should fail
Example :
ABCD~2016187~1
ABC~2016187
the above data should be passed and below should be failed
FNAL~
123~
I have tried the below, but still the rule is not working, can you please advise on how to proceed on this
trim(column) matches_regex '^[-a-zA-Z~0-9~0-9]$'