You need to sign in to do that
Don't have an account?
CKG
Valid IP Address, VAlidation rule
Hi,
I am working on IP Adress field. i am trying out a validation rule for IP format. below is the formula i used
NOT(
REGEX( CBR_WAN_IP__c ,
"^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.)
{3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" ))
It shows up a message saying Error: Syntax error. Missing " , not sure y, pl help sort out this
Thanks in Advance
CK
This formula :
is working fine for me. Just try again copying it form here and replace the "ankit__IP_ADDRESS__c" with your IP address field API name.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
try this
I tried using it, it poped a error message again Error: Syntax error. Found '^', the data type i used is number for the field, have tried it on text field also, there's no change, every time error pops up
This formula :
is working fine for me. Just try again copying it form here and replace the "ankit__IP_ADDRESS__c" with your IP address field API name.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Thanks a lot ... :-)