Skip to main content
I love Salesforce (CloudF) 님이 #Formulas에 질문했습니다
Hi Experts

I am looking to set a Regex syntax for one of my custom field which looks like this "df976353-c0dd-448e-a989-443a4b889442".

I am using below syntax, but getting error :

!REGEX(Customer_ID__c, "\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b")

Any help on correcting this would be greately appreciated..!!

Thanks

Rohan
답변 2개
  1. 2022년 2월 3일 오전 10:41
    Hi Ronu,

    Can you check if this formula works.

     

    !REGEX(Customer_Id__c, "\\b[0-9a-f]{8}\\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\\b[0-9a-f]{12}\\b")

    If this solution helps, Please mark it as best solution.

    Thanks,

     
0/9000