REGEX() 함수를 사용하는 필드 유효성 검사에 대한 팁을 확인하십시오.
| 설명 | 형식 | 검증 |
|---|---|---|
| 미국 전화번호(내선 제외) | (999)_999-9999 +1_(999)_999-9999 | !REGEX(Phone,"^((\\+1)?\\s?\\(\\d{3}\\)\\s?\\d{3}\\-\\d{4})?$") |
| 미국 전화번호(내선 포함) | 위의 형식에 다음 추가: (999)_999-9999_x999… (999)_999-9999_Ext._999… (999)_999-9999_ext:_999… (모든 길이의 내선 번호) ext나 x 다음에 오는 : 또는 . 허용, 전화번호 앞의 +1 허용. | !REGEX(Phone,"^((\\+1)?\\s?\\(\\d{3}\\)\\s?\\d{3}\\-\\d{4})(\\s?(x|([Ee]xt[\\.:]?\\s?))\\d+)?)?$") |
| 사회 보장 번호 | 999-99-9999 | !REGEX(Social_Security_Number__c,"^(\\d{3}\\-\\d{2}-\\d{4})?$" |
| 미국 우편번호(5자리 숫자) | 12345 | !REGEX(PostalCode,"^\\d{5}?$") |
| 미국 우편번호(5자리 또는 9자리 숫자) | 12345 12345-6789 | !REGEX(PostalCode,"^(\\d{5}(\\-\\d{4})?)?$") |
| 브라질 전화번호(내선 제외) | (99)_9999-9999 (99)_99999-9999 +55 (99)_9999-9999 +55 (99)_99999-9999 | !REGEX(Phone,"^((\\+\\d{2}\\s)?\\(\\d{2}\\)\\s?\\d{4}\\d?\\-\\d{4})?$") |
| 브라질 전화번호(내선 포함) | 위의 형식에 다음 추가: [위와 같은 전화번호] ramal: 999… [위와 같은 전화번호] ramal 999… | !REGEX(Phone,"^((\\+\\d{2}\\s)?\\(\\d{2}\\)\\s?\\d{4}\\d?\\-\\d{4}(\\sramal:?\\s\\d+)?)?$") |
| 브라질 CNPJ(사업소득세 ID) | 99.999.999/9999-99 | !REGEX(CNPJ__c,"^(\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}\\-\\d{2})?$") |
| 브라질 우편번호(5자리 또는 8자리 숫자) | 99999-999 99999 | !REGEX(PostalCode,"^(\\d{5}(\\-\\d{3})?)?$") |
| 브라질 CPF | 999999999-99 | !REGEX(CPF__c,"^(\\d{3}\\.\\d{3}\\.\\d{3}\\-\\d{2})?$") |
| 일본 전화번호(내선 제외) |
99-9999-9999 |
!REGEX(Phone,"^[0-9]{2,4}-[0-9]{2,4}-[0-9]{3,4}$") |
|
일본 우편번호("-" 필요) |
999-9999 |
!REGEX(PostalCode,"^[0-9]{3}-[0-9]{4}$") |
|
일본 우편번호("-" 유무 무관) |
999-9999 |
!REGEX(PostalCode,"^([0-9]{3}-[0-9]{4})?$|^[0-9]{7}+$") |
| 타이틀 케이스로 표기한 단어와 이름 일부 언어의 특수 글자, da, de, di, do 및 접두사 d'를 제외하고 regex에 나열된 모든 악센트에 타이틀 케이스(첫 글자 대문자, 나머지 소문자)를 적용합니다. | Smith John de Souza Rio de Janeiro Brasília d'Onofrio di Lorenço | !REGEX(이름, "^((^|\\s)(((([DdO]')|Mc|Mac)?[A-ZÃÁÂÀÄÇÉÈÊËÍÌÎÏÕÒÔÓÖÛÚÙÜ][a-zãáàâäçéèêëíìîïñõôóòöûúùü]*)|(da|de|di|do)))*$") |
| 여러 줄을 지원하는 텍스트 필드에서 사용자가 줄 바꿈을 입력하지 못하도록 합니다. ¹ |
REGEX( ShippingStreet , '(.*\r?\n.*)*') | |
| 여러 줄을 지원하는 텍스트 필드에 최대 세 줄의 텍스트 입력을 허용합니다. ¹ |
REGEX( ShippingStreet , '(.*\r?\n.*){3,}')
| |
000386675

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.